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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 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.00165/0.00165, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.489/1.489, 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.4154/0.4154, allocations: 54.95 MB / 324.7 MB, free: 15.96 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.00302/0.00302, allocations: 67.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1658, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4802/0.646, allocations: 167.5 MB / 0.6079 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007591/0.6537, allocations: 6.52 MB / 0.6142 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.6542, allocations: 7.938 kB / 0.6142 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.6552, allocations: 254.4 kB / 0.6145 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.6571, allocations: 0.727 MB / 0.6152 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.6583, allocations: 425.8 kB / 0.6156 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.6595, allocations: 1.084 MB / 0.6167 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.6601, allocations: 378.9 kB / 0.617 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.6618, allocations: 0.7549 MB / 0.6178 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.6624, allocations: 379.5 kB / 0.6181 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.6625, allocations: 40 kB / 0.6182 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.6628, allocations: 119.9 kB / 0.6183 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.663, allocations: 191.4 kB / 0.6185 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.6633, allocations: 258.9 kB / 0.6187 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.664, allocations: 0.6348 MB / 0.6193 GB, free: 4.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.664, allocations: 11.98 kB / 0.6193 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.664, allocations: 0 / 0.6193 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.664, allocations: 0 / 0.6193 GB, free: 4.09 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.00137/0.6654, allocations: 0.7505 MB / 0.6201 GB, free: 3.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6655, allocations: 16.02 kB / 0.6201 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.6657, allocations: 51.44 kB / 0.6201 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.6663, allocations: 366 kB / 0.6205 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.6663, allocations: 29 kB / 0.6205 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.6664, allocations: 43.98 kB / 0.6205 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.6671, allocations: 406.4 kB / 0.6209 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6671, allocations: 0 / 0.6209 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.6672, allocations: 20 kB / 0.621 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.6672, allocations: 8 kB / 0.621 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.6678, allocations: 332.6 kB / 0.6213 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.6702, allocations: 1.434 MB / 0.6227 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.6706, allocations: 182.7 kB / 0.6229 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.6708, allocations: 104.7 kB / 0.623 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.6712, allocations: 121 kB / 0.6231 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.6712, allocations: 35.25 kB / 0.6231 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.6713, allocations: 0 / 0.6231 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000727/0.672, allocations: 325.3 kB / 0.6234 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.672, allocations: 51.41 kB / 0.6235 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.6725, allocations: 438.2 kB / 0.6239 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.6725, allocations: 29.7 kB / 0.6239 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6727, allocations: 223.9 kB / 0.6241 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.6727, allocations: 63.02 kB / 0.6242 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.6728, allocations: 52.2 kB / 0.6242 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.673, allocations: 350.7 kB / 0.6246 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.6732, allocations: 95.88 kB / 0.6247 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.6734, allocations: 154.9 kB / 0.6248 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.6739, allocations: 250.1 kB / 0.625 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6739, allocations: 0 / 0.625 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005598/0.6744, allocations: 329.1 kB / 0.6254 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6745, allocations: 8 kB / 0.6254 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6745, allocations: 0.8125 kB / 0.6254 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6745, allocations: 4 kB / 0.6254 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.6748, allocations: 55.91 kB / 0.6254 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6748, allocations: 0 / 0.6254 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.675, allocations: 51.39 kB / 0.6255 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.675, allocations: 12 kB / 0.6255 GB, free: 13.46 MB / 0.4981 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 (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.0001791/0.6752, allocations: 173.8 kB / 0.6256 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.6753, allocations: 40.75 kB / 0.6257 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.6759, allocations: 275.4 kB / 0.6259 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6759, allocations: 4 kB / 0.626 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.6759, allocations: 0 / 0.626 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6759, allocations: 3.938 kB / 0.626 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.677, allocations: 0.7897 MB / 0.6267 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.677, allocations: 4 kB / 0.6267 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.6772, allocations: 39.91 kB / 0.6268 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6773, allocations: 0 / 0.6268 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.6773, allocations: 12.19 kB / 0.6268 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.6773, allocations: 5.25 kB / 0.6268 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6773, allocations: 0 / 0.6268 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.6781, allocations: 0.5045 MB / 0.6273 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.6783, allocations: 165.3 kB / 0.6274 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.6783, allocations: 4 kB / 0.6274 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.6787, allocations: 15.98 kB / 0.6275 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.6787, allocations: 20.05 kB / 0.6275 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.6788, allocations: 11.98 kB / 0.6275 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002924/0.6791, allocations: 307.1 kB / 0.6278 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6791, allocations: 0 / 0.6278 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004149/0.6795, allocations: 107.8 kB / 0.6279 GB, free: 10.86 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.000333/0.6798, allocations: 147.4 kB / 0.628 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.6804, allocations: 243.9 kB / 0.6283 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6804, allocations: 0 / 0.6283 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.6806, allocations: 107.9 kB / 0.6284 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6818, allocations: 236.6 kB / 0.6286 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.6831, allocations: 0.8247 MB / 0.6294 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.6835, allocations: 0.8192 MB / 0.6302 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.6838, allocations: 86.62 kB / 0.6303 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.6839, allocations: 35.38 kB / 0.6303 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.6839, allocations: 3.938 kB / 0.6303 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01382/0.6978, allocations: 7.936 MB / 0.6381 GB, free: 0.5312 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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)