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.001172/0.001172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001397/0.001398, allocations: 191.3 kB / 16.25 MB, free: 6.582 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.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3931/0.3931, allocations: 54.93 MB / 324.4 MB, free: 92 kB / 254.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.001433/0.001433, allocations: 63.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 59.58 MB / 454.5 MB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEntropy): time 0.4015/0.5324, allocations: 161 MB / 0.6011 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.5378, allocations: 4.522 MB / 0.6055 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.5383, allocations: 7.938 kB / 0.6055 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.5392, allocations: 187.1 kB / 0.6057 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.541, allocations: 0.6458 MB / 0.6063 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.5433, allocations: 0.8049 MB / 0.6071 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.5444, allocations: 0.9217 MB / 0.608 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.5448, allocations: 285 kB / 0.6083 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.5459, allocations: 0.6033 MB / 0.6089 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.5464, allocations: 382.7 kB / 0.6092 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.5465, allocations: 40 kB / 0.6093 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5482, allocations: 1.072 MB / 0.6103 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.5483, allocations: 171.5 kB / 0.6105 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.5486, allocations: 219.1 kB / 0.6107 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5498, allocations: 1.025 MB / 0.6117 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5498, allocations: 4 kB / 0.6117 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5499, allocations: 0 / 0.6117 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.5499, allocations: 0 / 0.6117 GB, free: 11.86 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.001186/0.5511, allocations: 0.7298 MB / 0.6124 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5511, allocations: 13.16 kB / 0.6124 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.5519, allocations: 87.5 kB / 0.6125 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.5524, allocations: 339.8 kB / 0.6128 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.5524, allocations: 24.66 kB / 0.6129 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.5525, allocations: 32 kB / 0.6129 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.5533, allocations: 433.8 kB / 0.6133 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5533, allocations: 0 / 0.6133 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.5534, allocations: 16 kB / 0.6133 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5534, allocations: 11.94 kB / 0.6133 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.5541, allocations: 346.3 kB / 0.6137 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.5567, allocations: 1.549 MB / 0.6152 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.5569, allocations: 87.38 kB / 0.6152 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5571, allocations: 68.8 kB / 0.6153 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.5579, allocations: 331.2 kB / 0.6156 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5579, allocations: 34.56 kB / 0.6157 GB, free: 7.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5579, allocations: 0 / 0.6157 GB, free: 7.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006533/0.5586, allocations: 246.2 kB / 0.6159 GB, free: 7.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.5587, allocations: 55.34 kB / 0.6159 GB, free: 7.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.5591, allocations: 434.1 kB / 0.6164 GB, free: 6.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.5592, allocations: 29.7 kB / 0.6164 GB, free: 6.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5593, allocations: 211.6 kB / 0.6166 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.5594, allocations: 39.39 kB / 0.6166 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5595, allocations: 64.05 kB / 0.6167 GB, free: 6.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5597, allocations: 350.7 kB / 0.617 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.5599, allocations: 97.23 kB / 0.6171 GB, free: 5.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.5602, allocations: 189.7 kB / 0.6173 GB, free: 5.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.5606, allocations: 289.4 kB / 0.6176 GB, free: 5.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5607, allocations: 4 kB / 0.6176 GB, free: 5.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006717/0.5613, allocations: 341.1 kB / 0.6179 GB, free: 5.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5614, allocations: 11.98 kB / 0.6179 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5614, allocations: 4.562 kB / 0.6179 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5614, allocations: 4 kB / 0.6179 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.5617, allocations: 57.97 kB / 0.618 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5617, allocations: 11.94 kB / 0.618 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.562, allocations: 52.2 kB / 0.618 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.5621, allocations: 16 kB / 0.6181 GB, free: 4.91 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.0001722/0.5622, allocations: 169.7 kB / 0.6182 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5624, allocations: 35.62 kB / 0.6183 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.5629, allocations: 199.9 kB / 0.6184 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5629, allocations: 0 / 0.6184 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5629, allocations: 4 kB / 0.6184 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5629, allocations: 0 / 0.6184 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.5636, allocations: 0.5428 MB / 0.619 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5636, allocations: 5.312 kB / 0.619 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5638, allocations: 20.86 kB / 0.619 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5638, allocations: 0 / 0.619 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5638, allocations: 4 kB / 0.619 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5638, allocations: 0 / 0.619 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5638, allocations: 3.938 kB / 0.619 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.5643, allocations: 298.9 kB / 0.6193 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.5645, allocations: 132.7 kB / 0.6194 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.5646, allocations: 7.984 kB / 0.6194 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.5649, allocations: 16.05 kB / 0.6194 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.5649, allocations: 11.94 kB / 0.6195 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.565, allocations: 11.98 kB / 0.6195 GB, free: 3.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003607/0.5653, allocations: 335.1 kB / 0.6198 GB, free: 3.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5653, allocations: 0 / 0.6198 GB, free: 3.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.5659, allocations: 133 kB / 0.6199 GB, free: 2.891 MB / 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.0005876/0.5665, allocations: 218.6 kB / 0.6201 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.567, allocations: 185.4 kB / 0.6203 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.567, allocations: 4.062 kB / 0.6203 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5671, allocations: 43.91 kB / 0.6203 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.5681, allocations: 194.2 kB / 0.6205 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.5691, allocations: 0.7143 MB / 0.6212 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.5696, allocations: 0.7918 MB / 0.622 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.5699, allocations: 80.38 kB / 0.6221 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.57, allocations: 27.44 kB / 0.6221 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.57, allocations: 0 / 0.6221 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of Templates: time 0.0141/0.5841, allocations: 8.175 MB / 0.6301 GB, free: 8.57 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)