Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4423/0.4423, allocations: 54.95 MB / 324.7 MB, free: 15.97 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 63.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.4057/0.5489, allocations: 163.2 MB / 0.6037 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.5544, allocations: 4.542 MB / 0.6081 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.5548, allocations: 11.94 kB / 0.6081 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.5556, allocations: 214.7 kB / 0.6083 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5576, allocations: 0.6961 MB / 0.609 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5596, allocations: 0.8423 MB / 0.6098 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5607, allocations: 0.9244 MB / 0.6107 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.5611, allocations: 301 kB / 0.611 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.5623, allocations: 0.6071 MB / 0.6116 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.5628, allocations: 354.8 kB / 0.6119 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.5629, allocations: 36 kB / 0.612 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5646, allocations: 1.026 MB / 0.613 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.5648, allocations: 167.5 kB / 0.6131 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.5651, allocations: 215.1 kB / 0.6133 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.5665, allocations: 0.9702 MB / 0.6143 GB, free: 9.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5665, allocations: 0 / 0.6143 GB, free: 9.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5665, allocations: 0 / 0.6143 GB, free: 9.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.5666, allocations: 4 kB / 0.6143 GB, free: 9.266 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001265/0.5678, allocations: 0.7259 MB / 0.615 GB, free: 8.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5679, allocations: 12.03 kB / 0.615 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.5687, allocations: 95.48 kB / 0.6151 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.5692, allocations: 339.7 kB / 0.6154 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.5692, allocations: 20.66 kB / 0.6154 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.5693, allocations: 32 kB / 0.6155 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.57, allocations: 434.4 kB / 0.6159 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5701, allocations: 0 / 0.6159 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.5701, allocations: 16 kB / 0.6159 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.5701, allocations: 15.94 kB / 0.6159 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.5708, allocations: 338.3 kB / 0.6162 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.5732, allocations: 1.551 MB / 0.6178 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.5736, allocations: 90.53 kB / 0.6178 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.5738, allocations: 68.81 kB / 0.6179 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007614/0.5745, allocations: 327.4 kB / 0.6182 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5746, allocations: 46.5 kB / 0.6183 GB, free: 4.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.5746, allocations: 0 / 0.6183 GB, free: 4.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007326/0.5753, allocations: 241.1 kB / 0.6185 GB, free: 4.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.5754, allocations: 51.41 kB / 0.6186 GB, free: 4.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.5759, allocations: 429.5 kB / 0.619 GB, free: 4.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5759, allocations: 25.7 kB / 0.619 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5761, allocations: 223.6 kB / 0.6192 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.5761, allocations: 43.39 kB / 0.6192 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5762, allocations: 60.11 kB / 0.6193 GB, free: 3.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5764, allocations: 346.7 kB / 0.6196 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5766, allocations: 91.88 kB / 0.6197 GB, free: 3.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.5769, allocations: 198.2 kB / 0.6199 GB, free: 3.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.5773, allocations: 285.4 kB / 0.6202 GB, free: 2.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5774, allocations: 0 / 0.6202 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006792/0.578, allocations: 345.5 kB / 0.6205 GB, free: 2.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5781, allocations: 8 kB / 0.6205 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5781, allocations: 4.094 kB / 0.6205 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.5781, allocations: 8.547 kB / 0.6205 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.5784, allocations: 60.98 kB / 0.6206 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.5784, allocations: 11.94 kB / 0.6206 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.5787, allocations: 43.53 kB / 0.6206 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.5788, allocations: 16 kB / 0.6207 GB, free: 2.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (29): * Single equations (assignments): 29 * 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.0002054/0.579, allocations: 169.7 kB / 0.6208 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5791, allocations: 36.28 kB / 0.6208 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005453/0.5797, allocations: 204.2 kB / 0.621 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5797, allocations: 0 / 0.621 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5797, allocations: 4 kB / 0.621 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5797, allocations: 3.984 kB / 0.621 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008704/0.5806, allocations: 0.533 MB / 0.6216 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5806, allocations: 4 kB / 0.6216 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5807, allocations: 15.98 kB / 0.6216 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5807, allocations: 0 / 0.6216 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5808, allocations: 8 kB / 0.6216 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5808, allocations: 0 / 0.6216 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5808, allocations: 8 kB / 0.6216 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.5814, allocations: 297.3 kB / 0.6219 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5816, allocations: 136.7 kB / 0.622 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.5816, allocations: 10.34 kB / 0.622 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.582, allocations: 11.98 kB / 0.622 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.582, allocations: 15.92 kB / 0.6221 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5821, allocations: 7.984 kB / 0.6221 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.5825, allocations: 335.1 kB / 0.6224 GB, free: 436 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5825, allocations: 0 / 0.6224 GB, free: 436 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006267/0.5831, allocations: 127.9 kB / 0.6225 GB, free: 308 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0005983/0.5837, allocations: 221.9 kB / 0.6227 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.5842, allocations: 184.5 kB / 0.6229 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5842, allocations: 4 kB / 0.6229 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.5844, allocations: 40.47 kB / 0.6229 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.5853, allocations: 195.2 kB / 0.6231 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.5865, allocations: 0.6239 MB / 0.6237 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.5869, allocations: 0.7879 MB / 0.6245 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.5873, allocations: 84.67 kB / 0.6246 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.5873, allocations: 27.44 kB / 0.6246 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5874, allocations: 0 / 0.6246 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.01391/0.6013, allocations: 8.267 MB / 0.6327 GB, free: 5.969 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)