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.001296/0.001297, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001482/0.001483, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.383/0.383, allocations: 54.98 MB / 325.3 MB, free: 0.7188 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.0005814/0.0005817, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.298, allocations: 60.72 MB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1612/0.4593, allocations: 149.6 MB / 0.5927 GB, free: 1.738 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.4673, allocations: 6.522 MB / 0.599 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.4679, allocations: 12.59 kB / 0.599 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.4688, allocations: 254.8 kB / 0.5993 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.4707, allocations: 0.7048 MB / 0.6 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4725, allocations: 0.5732 MB / 0.6005 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.4735, allocations: 0.801 MB / 0.6013 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.4741, allocations: 399.8 kB / 0.6017 GB, free: 8.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.4761, allocations: 0.8335 MB / 0.6025 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.4767, allocations: 415.9 kB / 0.6029 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.4768, allocations: 32 kB / 0.6029 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.4776, allocations: 335.5 kB / 0.6032 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.4779, allocations: 199.5 kB / 0.6034 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.478, allocations: 149.4 kB / 0.6036 GB, free: 6.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.4788, allocations: 0.7119 MB / 0.6043 GB, free: 5.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4788, allocations: 0 / 0.6043 GB, free: 5.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4788, allocations: 0 / 0.6043 GB, free: 5.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4789, allocations: 0 / 0.6043 GB, free: 5.824 MB / 478.1 MB 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.001428/0.4803, allocations: 0.878 MB / 0.6051 GB, free: 4.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4803, allocations: 8.031 kB / 0.6051 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.4813, allocations: 155.2 kB / 0.6053 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.482, allocations: 425.4 kB / 0.6057 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.4821, allocations: 48.94 kB / 0.6057 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.4821, allocations: 55.98 kB / 0.6058 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/0.483, allocations: 0.5101 MB / 0.6063 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4831, allocations: 4 kB / 0.6063 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.4831, allocations: 27.89 kB / 0.6063 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4831, allocations: 12 kB / 0.6063 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.484, allocations: 480.5 kB / 0.6068 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.4867, allocations: 1.854 MB / 0.6086 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.4872, allocations: 342.3 kB / 0.6089 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/0.4876, allocations: 137 kB / 0.6091 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4876, allocations: 38.56 kB / 0.6091 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.4877, allocations: 0 / 0.6091 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001071/0.4887, allocations: 0.5599 MB / 0.6096 GB, free: 36 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4888, allocations: 55.41 kB / 0.6097 GB, free: 15.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.4893, allocations: 0.494 MB / 0.6102 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4894, allocations: 33.7 kB / 0.6102 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.4896, allocations: 264 kB / 0.6105 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.4897, allocations: 114.4 kB / 0.6106 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.4897, allocations: 4 kB / 0.6106 GB, free: 15.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4899, allocations: 362.8 kB / 0.6109 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.4902, allocations: 180.7 kB / 0.6111 GB, free: 14.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.4906, allocations: 242.2 kB / 0.6113 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.491, allocations: 255.1 kB / 0.6116 GB, free: 13.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.491, allocations: 0 / 0.6116 GB, free: 13.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009598/0.4919, allocations: 0.5932 MB / 0.6122 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.492, allocations: 63.39 kB / 0.6122 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.492, allocations: 4 kB / 0.6122 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.492, allocations: 4.188 kB / 0.6122 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.4924, allocations: 93.02 kB / 0.6123 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4924, allocations: 4.781 kB / 0.6123 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.4928, allocations: 63.42 kB / 0.6124 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.4929, allocations: 23.98 kB / 0.6124 GB, free: 13.11 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: 2 (senHLat_flow.i_x,senHSen_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.4931, allocations: 190.2 kB / 0.6126 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.4932, allocations: 59.28 kB / 0.6126 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/0.4941, allocations: 486.7 kB / 0.6131 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4941, allocations: 0 / 0.6131 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4941, allocations: 0 / 0.6131 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4941, allocations: 7.984 kB / 0.6131 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.4957, allocations: 1.071 MB / 0.6142 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4957, allocations: 0.6875 kB / 0.6142 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.496, allocations: 63.91 kB / 0.6142 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.496, allocations: 4.125 kB / 0.6142 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4961, allocations: 16 kB / 0.6142 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4961, allocations: 7.922 kB / 0.6142 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4961, allocations: 5.438 kB / 0.6142 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4973, allocations: 0.8573 MB / 0.6151 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.4976, allocations: 188.4 kB / 0.6153 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.4976, allocations: 4 kB / 0.6153 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.4981, allocations: 35.97 kB / 0.6153 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4981, allocations: 27.92 kB / 0.6153 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.4982, allocations: 19.98 kB / 0.6153 GB, free: 9.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.4986, allocations: 354.8 kB / 0.6157 GB, free: 9.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4986, allocations: 3.938 kB / 0.6157 GB, free: 9.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.4991, allocations: 163.8 kB / 0.6158 GB, free: 9.41 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004538/0.4996, allocations: 184.1 kB / 0.616 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008264/0.5004, allocations: 0.5062 MB / 0.6165 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5004, allocations: 4 kB / 0.6165 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5008, allocations: 204.3 kB / 0.6167 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.5022, allocations: 294.2 kB / 0.617 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.504, allocations: 1.371 MB / 0.6183 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5045, allocations: 0.8785 MB / 0.6192 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004531/0.505, allocations: 122.3 kB / 0.6193 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5051, allocations: 47.38 kB / 0.6194 GB, free: 5.762 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5051, allocations: 0 / 0.6194 GB, free: 5.762 MB / 494.1 MB Notification: Performance of Templates: time 0.0162/0.5213, allocations: 10 MB / 0.6291 GB, free: 11.91 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: