Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001777/0.001778, allocations: 194.7 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.97 kB / 0.5011 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4628, allocations: 80.21 MB / 0.5794 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002679/0.4655, allocations: 1.543 MB / 0.5809 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.4658, allocations: 135.9 kB / 0.5811 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.4659, allocations: 1.219 kB / 0.5811 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.4659, allocations: 9.203 kB / 0.5811 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.466, allocations: 5.359 kB / 0.5811 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.4663, allocations: 71.62 kB / 0.5811 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.4664, allocations: 52.59 kB / 0.5812 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4666, allocations: 21.84 kB / 0.5812 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.4666, allocations: 23.64 kB / 0.5812 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.4667, allocations: 23.42 kB / 0.5813 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4667, allocations: 3.906 kB / 0.5813 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.4667, allocations: 6.344 kB / 0.5813 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.4668, allocations: 14.78 kB / 0.5813 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.4668, allocations: 25.56 kB / 0.5813 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.4669, allocations: 46.28 kB / 0.5814 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4669, allocations: 0 / 0.5814 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.467, allocations: 0.7188 kB / 0.5814 GB, free: 3.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.467, allocations: 0 / 0.5814 GB, free: 3.219 MB / 430.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.0004734/0.4674, allocations: 379.9 kB / 0.5817 GB, free: 2.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4675, allocations: 13.84 kB / 0.5817 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.4675, allocations: 8.375 kB / 0.5817 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.4676, allocations: 180.1 kB / 0.5819 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.4677, allocations: 34.23 kB / 0.5819 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4677, allocations: 3.625 kB / 0.5819 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4679, allocations: 74.2 kB / 0.582 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.468, allocations: 3.938 kB / 0.582 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.468, allocations: 1.094 kB / 0.582 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.468, allocations: 5.125 kB / 0.582 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.4682, allocations: 48.06 kB / 0.5821 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.4688, allocations: 319.4 kB / 0.5824 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.4689, allocations: 47.3 kB / 0.5824 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.469, allocations: 33.23 kB / 0.5825 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.469, allocations: 0.75 kB / 0.5825 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4691, allocations: 36.66 kB / 0.5825 GB, free: 2.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4691, allocations: 0 / 0.5825 GB, free: 2.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000371/0.4694, allocations: 99.58 kB / 0.5826 GB, free: 2.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4695, allocations: 51.41 kB / 0.5826 GB, free: 2.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.4696, allocations: 109 kB / 0.5827 GB, free: 1.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4696, allocations: 25.7 kB / 0.5828 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4696, allocations: 92.02 kB / 0.5829 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.4696, allocations: 14.98 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.4697, allocations: 17.83 kB / 0.5829 GB, free: 1.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.4698, allocations: 322.4 kB / 0.5832 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4699, allocations: 21.3 kB / 0.5832 GB, free: 1.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.4701, allocations: 37.2 kB / 0.5832 GB, free: 1.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.4703, allocations: 56.92 kB / 0.5833 GB, free: 1.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4703, allocations: 4 kB / 0.5833 GB, free: 1.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003326/0.4707, allocations: 90.75 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4707, allocations: 5.578 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4707, allocations: 1.156 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4708, allocations: 1.031 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.4709, allocations: 13.52 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4709, allocations: 1.156 kB / 0.5834 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.471, allocations: 14.7 kB / 0.5834 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.471, allocations: 1.188 kB / 0.5834 GB, free: 1.34 MB / 430.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 7.952e-05/0.4711, allocations: 115.7 kB / 0.5835 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.4712, allocations: 9.5 kB / 0.5835 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.4712, allocations: 10.59 kB / 0.5836 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4712, allocations: 0 / 0.5836 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4713, allocations: 1.156 kB / 0.5836 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4713, allocations: 0.6562 kB / 0.5836 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.4715, allocations: 175.6 kB / 0.5837 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4715, allocations: 8 kB / 0.5837 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4716, allocations: 23.97 kB / 0.5838 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4716, allocations: 0 / 0.5838 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4716, allocations: 1.156 kB / 0.5838 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4716, allocations: 0.7031 kB / 0.5838 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4716, allocations: 0.9375 kB / 0.5838 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.472, allocations: 174.1 kB / 0.5839 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.472, allocations: 83.52 kB / 0.584 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.472, allocations: 5.953 kB / 0.584 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4722, allocations: 9.203 kB / 0.584 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.4722, allocations: 4.109 kB / 0.584 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4722, allocations: 3.375 kB / 0.584 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.4723, allocations: 87.58 kB / 0.5841 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4723, allocations: 1.219 kB / 0.5841 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.4725, allocations: 6.562 kB / 0.5841 GB, free: 0.6602 MB / 430.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.359e-05/0.4726, allocations: 103.1 kB / 0.5842 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.4729, allocations: 54.11 kB / 0.5843 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4729, allocations: 0 / 0.5843 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.473, allocations: 24.58 kB / 0.5843 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.4733, allocations: 8.422 kB / 0.5843 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.4736, allocations: 160.3 kB / 0.5845 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4739, allocations: 0.6838 MB / 0.5851 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.4739, allocations: 3.359 kB / 0.5851 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.474, allocations: 13.62 kB / 0.5851 GB, free: 15.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.474, allocations: 0 / 0.5851 GB, free: 15.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003094/0.4771, allocations: 0.7086 MB / 0.5858 GB, free: 15.62 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)