Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 106.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 191 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8423/0.8423, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 70.23 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5907/0.7595, allocations: 169.4 MB / 0.8258 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009215/0.7687, allocations: 7.135 MB / 0.8328 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.7694, allocations: 11.41 kB / 0.8328 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.7702, allocations: 178.7 kB / 0.833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.7737, allocations: 1.264 MB / 0.8342 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.7754, allocations: 0.6242 MB / 0.8348 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.7765, allocations: 0.7585 MB / 0.8355 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.7771, allocations: 296.5 kB / 0.8358 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.7785, allocations: 0.5668 MB / 0.8364 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009678/0.7794, allocations: 432.9 kB / 0.8368 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.7795, allocations: 25.09 kB / 0.8368 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.7819, allocations: 1.242 MB / 0.838 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.7821, allocations: 118.7 kB / 0.8381 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.7824, allocations: 178 kB / 0.8383 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.7843, allocations: 0.9201 MB / 0.8392 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7843, allocations: 2.562 kB / 0.8392 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7843, allocations: 0 / 0.8392 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.7843, allocations: 0 / 0.8392 GB, free: 9.977 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001313/0.7856, allocations: 0.6859 MB / 0.8399 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7857, allocations: 9.688 kB / 0.8399 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7868, allocations: 129 kB / 0.84 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.7874, allocations: 347.6 kB / 0.8403 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.7875, allocations: 46.86 kB / 0.8404 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.7875, allocations: 24.97 kB / 0.8404 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.7882, allocations: 374 kB / 0.8408 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7882, allocations: 2.562 kB / 0.8408 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.7882, allocations: 10.44 kB / 0.8408 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.7883, allocations: 9.125 kB / 0.8408 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.7888, allocations: 277.3 kB / 0.8411 GB, free: 8.555 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.7907, allocations: 1.484 MB / 0.8425 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.7911, allocations: 190.1 kB / 0.8427 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.7913, allocations: 122.2 kB / 0.8428 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/0.7922, allocations: 0.507 MB / 0.8433 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7923, allocations: 41.23 kB / 0.8433 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.926e-06/0.7923, allocations: 0 / 0.8433 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009237/0.7932, allocations: 356 kB / 0.8437 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7932, allocations: 51.41 kB / 0.8437 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.7936, allocations: 316.4 kB / 0.844 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.7936, allocations: 31.83 kB / 0.8441 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7937, allocations: 189.4 kB / 0.8442 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.7938, allocations: 48.92 kB / 0.8443 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.7939, allocations: 49.09 kB / 0.8443 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.794, allocations: 340.1 kB / 0.8447 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.7942, allocations: 85.3 kB / 0.8447 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.7944, allocations: 149.9 kB / 0.8449 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.7949, allocations: 237.7 kB / 0.8451 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7949, allocations: 0 / 0.8451 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005624/0.7954, allocations: 289 kB / 0.8454 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7955, allocations: 5.25 kB / 0.8454 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7955, allocations: 2.719 kB / 0.8454 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7955, allocations: 2.125 kB / 0.8454 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7957, allocations: 46.28 kB / 0.8454 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7957, allocations: 2.719 kB / 0.8454 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.7959, allocations: 27.94 kB / 0.8455 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.796, allocations: 15.27 kB / 0.8455 GB, free: 4.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.7961, allocations: 162.1 kB / 0.8456 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.7963, allocations: 23.97 kB / 0.8457 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.7969, allocations: 312.6 kB / 0.846 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7969, allocations: 2.906 kB / 0.846 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.797, allocations: 0 / 0.846 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.797, allocations: 0 / 0.846 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.7982, allocations: 0.8055 MB / 0.8467 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7982, allocations: 6.094 kB / 0.8467 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.7984, allocations: 40.28 kB / 0.8468 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7984, allocations: 6.469 kB / 0.8468 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.7984, allocations: 6.5 kB / 0.8468 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7984, allocations: 5.062 kB / 0.8468 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7984, allocations: 3.938 kB / 0.8468 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.799, allocations: 398.2 kB / 0.8472 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.7992, allocations: 145 kB / 0.8473 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.7992, allocations: 2.469 kB / 0.8473 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.7995, allocations: 23.73 kB / 0.8474 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.7995, allocations: 15.52 kB / 0.8474 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.7996, allocations: 13.55 kB / 0.8474 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001969/0.7998, allocations: 222.9 kB / 0.8476 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7998, allocations: 0 / 0.8476 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005149/0.8003, allocations: 120.8 kB / 0.8477 GB, free: 3.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000571/0.8009, allocations: 239.2 kB / 0.8479 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.8014, allocations: 225 kB / 0.8481 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8014, allocations: 1.938 kB / 0.8482 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.8016, allocations: 120 kB / 0.8483 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.8025, allocations: 157.4 kB / 0.8484 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.8036, allocations: 0.6181 MB / 0.849 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.8039, allocations: 0.7825 MB / 0.8498 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.8041, allocations: 35.8 kB / 0.8498 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.8041, allocations: 3.938 kB / 0.8498 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.009772/0.8138, allocations: 6.317 MB / 0.856 GB, free: 12.98 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)