Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 97.64 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.001227/0.001228, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.469/1.469, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4144/0.4144, allocations: 55 MB / 325.7 MB, free: 0.543 MB / 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.0009151/0.0009157, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4381, allocations: 60.71 MB / 458 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2102/0.6483, allocations: 163.2 MB / 0.6066 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.6561, allocations: 6.437 MB / 0.6128 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.6566, allocations: 7.938 kB / 0.6129 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.6576, allocations: 218.8 kB / 0.6131 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.6595, allocations: 0.6885 MB / 0.6137 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.6606, allocations: 370.3 kB / 0.6141 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.6621, allocations: 1.521 MB / 0.6156 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.6626, allocations: 318.7 kB / 0.6159 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.6643, allocations: 0.6848 MB / 0.6165 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.6648, allocations: 394.6 kB / 0.6169 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.6649, allocations: 20 kB / 0.6169 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.6652, allocations: 91.88 kB / 0.617 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.6654, allocations: 163.5 kB / 0.6172 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.6656, allocations: 264.6 kB / 0.6174 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.6663, allocations: 0.6112 MB / 0.618 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6663, allocations: 1.125 kB / 0.618 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6663, allocations: 0 / 0.618 GB, free: 7.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.6663, allocations: 0 / 0.618 GB, free: 7.996 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001275/0.6676, allocations: 0.6645 MB / 0.6187 GB, free: 7.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6677, allocations: 8.031 kB / 0.6187 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.6679, allocations: 59.38 kB / 0.6188 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.6684, allocations: 358.1 kB / 0.6191 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.6685, allocations: 34.5 kB / 0.6191 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.6685, allocations: 44 kB / 0.6192 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.6693, allocations: 406.4 kB / 0.6196 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6693, allocations: 0 / 0.6196 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.6693, allocations: 16.94 kB / 0.6196 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.6693, allocations: 12 kB / 0.6196 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.67, allocations: 351.7 kB / 0.6199 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.6721, allocations: 1.422 MB / 0.6213 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.6725, allocations: 199.6 kB / 0.6215 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.6727, allocations: 108.8 kB / 0.6216 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.6731, allocations: 133 kB / 0.6217 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6731, allocations: 30.56 kB / 0.6218 GB, free: 3.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.6731, allocations: 0 / 0.6218 GB, free: 3.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007147/0.6739, allocations: 353.3 kB / 0.6221 GB, free: 3.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6739, allocations: 60.47 kB / 0.6222 GB, free: 3.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.6744, allocations: 425.5 kB / 0.6226 GB, free: 3.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.6744, allocations: 33.7 kB / 0.6226 GB, free: 3.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6746, allocations: 219.8 kB / 0.6228 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.6746, allocations: 67 kB / 0.6229 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.6747, allocations: 29.7 kB / 0.6229 GB, free: 2.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6748, allocations: 350.8 kB / 0.6232 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.675, allocations: 98.44 kB / 0.6233 GB, free: 2.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.6753, allocations: 153.9 kB / 0.6235 GB, free: 2.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.6757, allocations: 261.8 kB / 0.6237 GB, free: 1.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6757, allocations: 4 kB / 0.6237 GB, free: 1.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000559/0.6763, allocations: 329 kB / 0.624 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6763, allocations: 9.406 kB / 0.624 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6763, allocations: 4.188 kB / 0.624 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6764, allocations: 4 kB / 0.624 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6766, allocations: 59.91 kB / 0.6241 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.6766, allocations: 4 kB / 0.6241 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6769, allocations: 63.36 kB / 0.6242 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.6769, allocations: 9.125 kB / 0.6242 GB, free: 1.367 MB / 494.1 MB 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 (30): * Single equations (assignments): 30 * 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.0001743/0.6771, allocations: 169.8 kB / 0.6243 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.6772, allocations: 39.62 kB / 0.6244 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/0.6778, allocations: 293.9 kB / 0.6247 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6778, allocations: 0 / 0.6247 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6778, allocations: 3.938 kB / 0.6247 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6778, allocations: 0 / 0.6247 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.6789, allocations: 0.8043 MB / 0.6254 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6789, allocations: 0.75 kB / 0.6254 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.6791, allocations: 51.84 kB / 0.6255 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6791, allocations: 4 kB / 0.6255 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.6791, allocations: 4.188 kB / 0.6255 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6792, allocations: 4 kB / 0.6255 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6792, allocations: 5 kB / 0.6255 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.68, allocations: 0.5223 MB / 0.626 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.6801, allocations: 152.7 kB / 0.6262 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.6802, allocations: 4 kB / 0.6262 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.6805, allocations: 27.97 kB / 0.6262 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.6806, allocations: 15.92 kB / 0.6262 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.6807, allocations: 19.98 kB / 0.6262 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002925/0.681, allocations: 307.1 kB / 0.6265 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.773e-06/0.681, allocations: 0 / 0.6265 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004161/0.6814, allocations: 119.6 kB / 0.6266 GB, free: 14.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0003707/0.6818, allocations: 138.3 kB / 0.6268 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.6823, allocations: 236.6 kB / 0.627 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6823, allocations: 3.938 kB / 0.627 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6825, allocations: 112.6 kB / 0.6271 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6838, allocations: 231.6 kB / 0.6273 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6851, allocations: 1.014 MB / 0.6283 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.6855, allocations: 0.8194 MB / 0.6291 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003027/0.6858, allocations: 89.8 kB / 0.6292 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.6859, allocations: 31.44 kB / 0.6292 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.6859, allocations: 0 / 0.6292 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.01288/0.6988, allocations: 7.534 MB / 0.6366 GB, free: 4.562 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: