Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006389/0.006389, allocations: 170 kB / 16.27 MB, free: 6.648 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003356, allocations: 8.234 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.556, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1848/0.7409, allocations: 158.9 MB / 0.7388 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.7465, allocations: 4.564 MB / 0.7433 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.7468, allocations: 11.94 kB / 0.7433 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.7473, allocations: 99.33 kB / 0.7434 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.7488, allocations: 0.5058 MB / 0.7439 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.7506, allocations: 0.708 MB / 0.7446 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.7515, allocations: 0.8183 MB / 0.7454 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.7518, allocations: 185.5 kB / 0.7456 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009432/0.7528, allocations: 430.3 kB / 0.746 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.7533, allocations: 287 kB / 0.7462 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.7534, allocations: 12 kB / 0.7463 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.7552, allocations: 1.153 MB / 0.7474 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.7553, allocations: 87.72 kB / 0.7475 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.7555, allocations: 137.1 kB / 0.7476 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.7566, allocations: 0.7712 MB / 0.7484 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7566, allocations: 7.938 kB / 0.7484 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7566, allocations: 0 / 0.7484 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.7566, allocations: 0 / 0.7484 GB, free: 7.219 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009485/0.7576, allocations: 0.5529 MB / 0.7489 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7576, allocations: 8.031 kB / 0.7489 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/0.7583, allocations: 71.66 kB / 0.749 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.7587, allocations: 295.9 kB / 0.7493 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.7588, allocations: 12 kB / 0.7493 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.7588, allocations: 20 kB / 0.7493 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.7594, allocations: 287.5 kB / 0.7496 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.7594, allocations: 7.875 kB / 0.7496 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.7594, allocations: 4 kB / 0.7496 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7594, allocations: 4 kB / 0.7496 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.7599, allocations: 215.8 kB / 0.7498 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.7615, allocations: 1.257 MB / 0.751 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.7618, allocations: 173 kB / 0.7512 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.762, allocations: 124.2 kB / 0.7513 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/0.7628, allocations: 343.3 kB / 0.7516 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.7629, allocations: 46.56 kB / 0.7517 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.7629, allocations: 0 / 0.7517 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007871/0.7637, allocations: 297.4 kB / 0.752 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.7638, allocations: 154.2 kB / 0.7521 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.7641, allocations: 286.9 kB / 0.7524 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.7641, allocations: 33.7 kB / 0.7524 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.7642, allocations: 147.8 kB / 0.7525 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.7643, allocations: 51.42 kB / 0.7526 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.7643, allocations: 17.72 kB / 0.7526 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7645, allocations: 334.8 kB / 0.7529 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.7646, allocations: 75.88 kB / 0.753 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.7649, allocations: 152.5 kB / 0.7531 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.7653, allocations: 227.8 kB / 0.7534 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7653, allocations: 0 / 0.7534 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005161/0.7658, allocations: 253.3 kB / 0.7536 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7658, allocations: 8 kB / 0.7536 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7659, allocations: 3.938 kB / 0.7536 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.7659, allocations: 4 kB / 0.7536 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.7661, allocations: 43.91 kB / 0.7537 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7661, allocations: 7.938 kB / 0.7537 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.7663, allocations: 31.73 kB / 0.7537 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.7664, allocations: 16.06 kB / 0.7537 GB, free: 1.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001469/0.7665, allocations: 153.7 kB / 0.7539 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.7667, allocations: 27.7 kB / 0.7539 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.7672, allocations: 201.8 kB / 0.7541 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7672, allocations: 0 / 0.7541 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.7672, allocations: 7.938 kB / 0.7541 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.7672, allocations: 4 kB / 0.7541 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.7682, allocations: 0.8588 MB / 0.7549 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7682, allocations: 0 / 0.7549 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.7683, allocations: 23.98 kB / 0.755 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7683, allocations: 7.938 kB / 0.755 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7683, allocations: 3.938 kB / 0.755 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7684, allocations: 7.984 kB / 0.755 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7684, allocations: 0 / 0.755 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.7689, allocations: 371 kB / 0.7553 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7691, allocations: 116.8 kB / 0.7554 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.7691, allocations: 7.984 kB / 0.7554 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.7693, allocations: 8 kB / 0.7555 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.7693, allocations: 16.05 kB / 0.7555 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.7693, allocations: 4 kB / 0.7555 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002289/0.7696, allocations: 237.9 kB / 0.7557 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7696, allocations: 0 / 0.7557 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004863/0.7701, allocations: 95.89 kB / 0.7558 GB, free: 15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005326/0.7706, allocations: 220.1 kB / 0.756 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.7711, allocations: 164 kB / 0.7562 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7711, allocations: 0 / 0.7562 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.7712, allocations: 64.03 kB / 0.7562 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.7721, allocations: 142.9 kB / 0.7564 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.773, allocations: 0.5729 MB / 0.7569 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.7733, allocations: 0.7599 MB / 0.7577 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.7735, allocations: 71.05 kB / 0.7577 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.7736, allocations: 23.44 kB / 0.7577 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.7736, allocations: 0 / 0.7577 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.01038/0.784, allocations: 5.538 MB / 0.7632 GB, free: 7.477 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)