Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009255, allocations: 98.03 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.00657/0.00657, allocations: 168.9 kB / 16.26 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.717/1.717, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4279/0.4279, allocations: 55.01 MB / 325.8 MB, free: 0.5938 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.0005474/0.0005475, allocations: 24 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4622, allocations: 60.72 MB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001994/0.4642, allocations: 1.201 MB / 459.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.4646, allocations: 127.8 kB / 459.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.4647, allocations: 0 / 459.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.4647, allocations: 3.234 kB / 459.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.4648, allocations: 11.56 kB / 459.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.4651, allocations: 62.81 kB / 459.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.4652, allocations: 57.95 kB / 459.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4654, allocations: 22.25 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.4655, allocations: 18.28 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.4655, allocations: 19.86 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.4656, allocations: 3.031 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.4656, allocations: 0.5625 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.4656, allocations: 18.75 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.4657, allocations: 45.39 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.4658, allocations: 56.14 kB / 459.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4658, allocations: 1.25 kB / 459.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4658, allocations: 0 / 459.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4658, allocations: 0 / 459.6 MB, free: 38.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004764/0.4663, allocations: 365.1 kB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4663, allocations: 10 kB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.4664, allocations: 8.125 kB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4665, allocations: 173.6 kB / 460.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.4666, allocations: 35.98 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.4666, allocations: 3.344 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4668, allocations: 84.64 kB / 460.3 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4668, allocations: 4.75 kB / 460.3 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4669, allocations: 4.25 kB / 460.3 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4669, allocations: 1.281 kB / 460.3 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.4671, allocations: 57.36 kB / 460.3 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.4677, allocations: 328.5 kB / 460.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.4678, allocations: 57.75 kB / 460.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.4679, allocations: 35.2 kB / 460.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.468, allocations: 0 / 460.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.468, allocations: 40.47 kB / 460.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.295e-06/0.468, allocations: 0 / 460.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004085/0.4684, allocations: 113.9 kB / 460.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.4685, allocations: 51.97 kB / 461 MB, free: 37.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.4686, allocations: 113.6 kB / 461.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4686, allocations: 25.7 kB / 461.1 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.4687, allocations: 95.47 kB / 461.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.4687, allocations: 12.31 kB / 461.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.4687, allocations: 12.56 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.4688, allocations: 322.6 kB / 461.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.4689, allocations: 31.8 kB / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.469, allocations: 38.52 kB / 461.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4692, allocations: 68.7 kB / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4692, allocations: 3.375 kB / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002205/0.4695, allocations: 102.2 kB / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4695, allocations: 6 kB / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4695, allocations: 0 / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4695, allocations: 0 / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.4696, allocations: 15.83 kB / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4697, allocations: 0 / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.4697, allocations: 20.34 kB / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4697, allocations: 0 / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.419e-05/0.4698, allocations: 116.7 kB / 461.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.4699, allocations: 10.12 kB / 461.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.4699, allocations: 10.88 kB / 461.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4699, allocations: 0 / 461.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.4699, allocations: 0 / 461.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.47, allocations: 0 / 461.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4701, allocations: 178.9 kB / 462.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4702, allocations: 7.844 kB / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.4702, allocations: 11.94 kB / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4702, allocations: 3.031 kB / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4702, allocations: 0 / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4703, allocations: 0 / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4703, allocations: 0 / 462.1 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.4705, allocations: 193.6 kB / 462.3 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.4706, allocations: 81.95 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4706, allocations: 3.594 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4707, allocations: 17.25 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4708, allocations: 8.172 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4708, allocations: 3.719 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.4709, allocations: 92 kB / 462.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4709, allocations: 0 / 462.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.4711, allocations: 5.844 kB / 462.5 MB, free: 35.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.886e-05/0.4712, allocations: 98.97 kB / 462.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.4715, allocations: 70.14 kB / 462.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4715, allocations: 0 / 462.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.4716, allocations: 34.67 kB / 462.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4719, allocations: 9.516 kB / 462.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.4722, allocations: 152.7 kB / 462.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4724, allocations: 0.6809 MB / 463.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.4725, allocations: 3.531 kB / 463.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.4725, allocations: 14.34 kB / 463.6 MB, free: 34.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4725, allocations: 0 / 463.6 MB, free: 34.92 MB / 382.1 MB Notification: Performance of Templates: time 0.003182/0.4757, allocations: 0.7182 MB / 464.3 MB, free: 34.87 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: