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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 148 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.001206/0.001206, allocations: 193.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.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4165/0.4165, allocations: 54.94 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.001792/0.001792, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1505, allocations: 59.6 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4644/0.6149, allocations: 179.4 MB / 0.6195 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009481/0.6244, allocations: 7.807 MB / 0.6271 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.6252, allocations: 15.94 kB / 0.6271 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.6264, allocations: 325.8 kB / 0.6274 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.6299, allocations: 1.104 MB / 0.6285 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.6323, allocations: 0.8298 MB / 0.6293 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.6343, allocations: 1.466 MB / 0.6307 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.6353, allocations: 487.8 kB / 0.6312 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.6377, allocations: 0.9808 MB / 0.6322 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.6389, allocations: 0.5606 MB / 0.6327 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.6392, allocations: 60 kB / 0.6328 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.6411, allocations: 0.7369 MB / 0.6335 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.6415, allocations: 243.4 kB / 0.6337 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006557/0.6422, allocations: 358.4 kB / 0.6341 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.6442, allocations: 1.149 MB / 0.6352 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6442, allocations: 0 / 0.6352 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6443, allocations: 0 / 0.6352 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.6443, allocations: 4 kB / 0.6352 GB, free: 3.977 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.002411/0.6467, allocations: 1.006 MB / 0.6362 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6468, allocations: 8.031 kB / 0.6362 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.6479, allocations: 151.2 kB / 0.6363 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009501/0.6489, allocations: 443.1 kB / 0.6367 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.6489, allocations: 44.98 kB / 0.6368 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6491, allocations: 48 kB / 0.6368 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6504, allocations: 0.5217 MB / 0.6373 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.6505, allocations: 0 / 0.6373 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.6505, allocations: 23.94 kB / 0.6374 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.6506, allocations: 12 kB / 0.6374 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.6515, allocations: 475.7 kB / 0.6378 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/0.8795, allocations: 1.861 MB / 0.6396 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.8802, allocations: 336.2 kB / 0.64 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.8805, allocations: 173.8 kB / 0.6401 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.8809, allocations: 120.2 kB / 0.6402 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.8809, allocations: 42.56 kB / 0.6403 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.8809, allocations: 0 / 0.6403 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00112/0.8821, allocations: 0.5487 MB / 0.6408 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8821, allocations: 55.72 kB / 0.6409 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.8826, allocations: 0.4927 MB / 0.6414 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.8826, allocations: 32.92 kB / 0.6414 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.8828, allocations: 265.2 kB / 0.6416 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.8829, allocations: 117.5 kB / 0.6418 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.883, allocations: 83.75 kB / 0.6418 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.8831, allocations: 360.8 kB / 0.6422 GB, free: 163 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.8834, allocations: 173.3 kB / 0.6423 GB, free: 163 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.8837, allocations: 237.2 kB / 0.6426 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.8843, allocations: 475.2 kB / 0.643 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8843, allocations: 0 / 0.643 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008101/0.8852, allocations: 0.5699 MB / 0.6436 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.8852, allocations: 67.23 kB / 0.6436 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.8852, allocations: 4.891 kB / 0.6436 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.8853, allocations: 3.5 kB / 0.6436 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.8856, allocations: 81.42 kB / 0.6437 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.8856, allocations: 3.562 kB / 0.6437 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.886, allocations: 59.62 kB / 0.6438 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.886, allocations: 17.66 kB / 0.6438 GB, free: 162.6 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.0001936/0.8862, allocations: 182.2 kB / 0.644 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.8863, allocations: 65.25 kB / 0.644 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/0.8872, allocations: 490.5 kB / 0.6445 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8872, allocations: 4.156 kB / 0.6445 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8872, allocations: 0 / 0.6445 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8872, allocations: 2.984 kB / 0.6445 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.8885, allocations: 1.069 MB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.8885, allocations: 2.219 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.8888, allocations: 60.91 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8888, allocations: 6.562 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.8888, allocations: 6.781 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8888, allocations: 3.344 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8888, allocations: 2.844 kB / 0.6456 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.8898, allocations: 0.772 MB / 0.6464 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.89, allocations: 183.3 kB / 0.6466 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.8901, allocations: 14.02 kB / 0.6466 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.8905, allocations: 16.72 kB / 0.6466 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.8905, allocations: 29.34 kB / 0.6466 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.8906, allocations: 28.42 kB / 0.6467 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003091/0.8909, allocations: 357.1 kB / 0.647 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8909, allocations: 0 / 0.647 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000497/0.8914, allocations: 163.8 kB / 0.6471 GB, free: 161.2 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.0004444/0.8919, allocations: 182.6 kB / 0.6473 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.8926, allocations: 0.5219 MB / 0.6478 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8926, allocations: 3.844 kB / 0.6478 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.8929, allocations: 197.9 kB / 0.648 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.8943, allocations: 303.8 kB / 0.6483 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.8959, allocations: 1.163 MB / 0.6494 GB, free: 160.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.8961, allocations: 0.8652 MB / 0.6503 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.8965, allocations: 122.4 kB / 0.6504 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8967, allocations: 49.62 kB / 0.6505 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.8967, allocations: 0 / 0.6505 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.01807/0.9147, allocations: 10.89 MB / 0.6611 GB, free: 158.8 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)