Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009211, allocations: 98.19 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.00824/0.00824, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.587/1.587, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4311/0.4311, allocations: 55.01 MB / 325.7 MB, free: 0.6797 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.0007829/0.0007829, allocations: 12 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.417, allocations: 60.72 MB / 458 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1994/0.6165, allocations: 174.9 MB / 0.618 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.6278, allocations: 7.733 MB / 0.6256 GB, free: 280 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.6286, allocations: 19.81 kB / 0.6256 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.6298, allocations: 258.5 kB / 0.6258 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.6329, allocations: 1.035 MB / 0.6269 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.6351, allocations: 0.7588 MB / 0.6276 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.6374, allocations: 2.063 MB / 0.6296 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005875/0.638, allocations: 413.1 kB / 0.63 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.6397, allocations: 0.8794 MB / 0.6309 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.6405, allocations: 0.5605 MB / 0.6314 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.6406, allocations: 35.94 kB / 0.6314 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.6419, allocations: 0.8107 MB / 0.6322 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.6421, allocations: 211.4 kB / 0.6324 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.6424, allocations: 340.2 kB / 0.6328 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.6437, allocations: 1.157 MB / 0.6339 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6437, allocations: 0 / 0.6339 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6437, allocations: 4 kB / 0.6339 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.6437, allocations: 0 / 0.6339 GB, free: 7.734 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001403/0.6451, allocations: 0.882 MB / 0.6348 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6452, allocations: 12.03 kB / 0.6348 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.646, allocations: 143.2 kB / 0.6349 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.6467, allocations: 447.7 kB / 0.6353 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.6468, allocations: 38.19 kB / 0.6354 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.6469, allocations: 52 kB / 0.6354 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.6478, allocations: 0.5218 MB / 0.6359 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.6478, allocations: 3.938 kB / 0.6359 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.6479, allocations: 24 kB / 0.636 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.6479, allocations: 16 kB / 0.636 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.6487, allocations: 479.7 kB / 0.6364 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.6514, allocations: 1.874 MB / 0.6383 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.652, allocations: 342.3 kB / 0.6386 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.6523, allocations: 184.7 kB / 0.6388 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.6527, allocations: 137 kB / 0.6389 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.6527, allocations: 38.5 kB / 0.6389 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.6527, allocations: 0 / 0.6389 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001095/0.6538, allocations: 0.5599 MB / 0.6395 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.6539, allocations: 55.41 kB / 0.6395 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.6544, allocations: 0.5018 MB / 0.64 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.6545, allocations: 33.7 kB / 0.64 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.6547, allocations: 260 kB / 0.6403 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.6548, allocations: 114.3 kB / 0.6404 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.6548, allocations: 45.7 kB / 0.6404 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.655, allocations: 358.8 kB / 0.6408 GB, free: 336 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.6553, allocations: 176.8 kB / 0.641 GB, free: 160 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2286/0.884, allocations: 236.5 kB / 0.6412 GB, free: 162 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.8851, allocations: 481.4 kB / 0.6416 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8852, allocations: 0 / 0.6416 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001094/0.8863, allocations: 0.5861 MB / 0.6422 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.8863, allocations: 59.08 kB / 0.6423 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8863, allocations: 7.5 kB / 0.6423 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.8864, allocations: 2.812 kB / 0.6423 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.8867, allocations: 87.16 kB / 0.6424 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8867, allocations: 6.844 kB / 0.6424 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.8872, allocations: 75.41 kB / 0.6424 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.8872, allocations: 20.91 kB / 0.6425 GB, free: 161.7 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: 2 (senHSen_flow.i_x,senHLat_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.000292/0.8875, allocations: 190.1 kB / 0.6426 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.8876, allocations: 53.72 kB / 0.6427 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.8885, allocations: 487.2 kB / 0.6432 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.8885, allocations: 7.656 kB / 0.6432 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8885, allocations: 1.125 kB / 0.6432 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8885, allocations: 5.625 kB / 0.6432 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.8898, allocations: 1.074 MB / 0.6442 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8898, allocations: 0 / 0.6442 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.8901, allocations: 67.95 kB / 0.6443 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8901, allocations: 6.781 kB / 0.6443 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8902, allocations: 10.34 kB / 0.6443 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8902, allocations: 2.656 kB / 0.6443 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.8902, allocations: 6.938 kB / 0.6443 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.8912, allocations: 0.7886 MB / 0.6451 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.8914, allocations: 190 kB / 0.6453 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.8915, allocations: 6.188 kB / 0.6453 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.8918, allocations: 33.38 kB / 0.6453 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.8919, allocations: 24.78 kB / 0.6453 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.892, allocations: 19.19 kB / 0.6453 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003579/0.8923, allocations: 356.5 kB / 0.6457 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8923, allocations: 1.312 kB / 0.6457 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005291/0.8929, allocations: 169 kB / 0.6458 GB, free: 160.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (32): * Single equations (assignments): 32 * 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.0004525/0.8933, allocations: 185.3 kB / 0.646 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007479/0.8941, allocations: 0.5186 MB / 0.6465 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8941, allocations: 6.281 kB / 0.6465 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.8944, allocations: 201.9 kB / 0.6467 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.896, allocations: 298.6 kB / 0.647 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8978, allocations: 1.426 MB / 0.6484 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8982, allocations: 0.8737 MB / 0.6493 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004553/0.8986, allocations: 121.5 kB / 0.6494 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.8987, allocations: 49.03 kB / 0.6494 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.8987, allocations: 0 / 0.6494 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.01942/0.9182, allocations: 10.33 MB / 0.6595 GB, free: 158.5 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: