Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.00135/0.00135, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8832/0.8832, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3934, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003338/0.3967, allocations: 1.644 MB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.5621, allocations: 151.6 MB / 0.7311 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.5623, allocations: 4 kB / 0.7311 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.5625, allocations: 11.81 kB / 0.7311 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.5628, allocations: 43.69 kB / 0.7312 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.5632, allocations: 147.4 kB / 0.7313 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.5634, allocations: 119.6 kB / 0.7314 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.5636, allocations: 25.41 kB / 0.7314 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5647, allocations: 167.6 kB / 0.7316 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.5648, allocations: 43.77 kB / 0.7316 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.5649, allocations: 8 kB / 0.7317 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.5653, allocations: 183.7 kB / 0.7318 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.5653, allocations: 27.91 kB / 0.7319 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.5654, allocations: 43.73 kB / 0.7319 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.5658, allocations: 201 kB / 0.7321 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5658, allocations: 0 / 0.7321 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5658, allocations: 0 / 0.7321 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.5658, allocations: 3.938 kB / 0.7321 GB, free: 3.512 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005986/0.5664, allocations: 439 kB / 0.7325 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5665, allocations: 12.03 kB / 0.7325 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/0.5674, allocations: 83.84 kB / 0.7326 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.5677, allocations: 214.8 kB / 0.7328 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5677, allocations: 4 kB / 0.7328 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.5677, allocations: 11.94 kB / 0.7328 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.5682, allocations: 133.5 kB / 0.733 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5682, allocations: 0 / 0.733 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.5682, allocations: 4 kB / 0.733 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.5682, allocations: 11.94 kB / 0.733 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.5687, allocations: 131.9 kB / 0.7331 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.5696, allocations: 408.4 kB / 0.7335 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.5703, allocations: 255.7 kB / 0.7337 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5706, allocations: 68.8 kB / 0.7338 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.5706, allocations: 4 kB / 0.7338 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5706, allocations: 42.56 kB / 0.7338 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5706, allocations: 0 / 0.7338 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007772/0.5714, allocations: 217.4 kB / 0.734 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5715, allocations: 51.41 kB / 0.7341 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5716, allocations: 148.9 kB / 0.7342 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.5716, allocations: 29.7 kB / 0.7343 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.5717, allocations: 104 kB / 0.7344 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.5717, allocations: 23.8 kB / 0.7344 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.5718, allocations: 25.7 kB / 0.7344 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5719, allocations: 326.8 kB / 0.7347 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.5721, allocations: 51.95 kB / 0.7348 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.5724, allocations: 78.83 kB / 0.7348 GB, free: 456 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.5728, allocations: 124.8 kB / 0.735 GB, free: 328 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5728, allocations: 4 kB / 0.735 GB, free: 324 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004621/0.5732, allocations: 157.5 kB / 0.7351 GB, free: 160 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5733, allocations: 8 kB / 0.7351 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5733, allocations: 3.984 kB / 0.7351 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5733, allocations: 0 / 0.7351 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.5735, allocations: 27.97 kB / 0.7352 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5735, allocations: 0 / 0.7352 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.5737, allocations: 23.83 kB / 0.7352 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.5737, allocations: 4 kB / 0.7352 GB, free: 92 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 0.0001236/0.5738, allocations: 133.7 kB / 0.7353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5739, allocations: 7.906 kB / 0.7353 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.5739, allocations: 12.72 kB / 0.7353 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5739, allocations: 0 / 0.7353 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.574, allocations: 7.938 kB / 0.7353 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.574, allocations: 3.984 kB / 0.7353 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.5748, allocations: 458.2 kB / 0.7358 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5748, allocations: 4 kB / 0.7358 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.575, allocations: 35.89 kB / 0.7358 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.575, allocations: 0 / 0.7358 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.575, allocations: 0 / 0.7358 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.575, allocations: 7.938 kB / 0.7358 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.575, allocations: 0 / 0.7358 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.5756, allocations: 255.3 kB / 0.7361 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.5756, allocations: 85.02 kB / 0.7361 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.5757, allocations: 0 / 0.7361 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5758, allocations: 23.91 kB / 0.7362 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.5759, allocations: 4 kB / 0.7362 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5759, allocations: 7.984 kB / 0.7362 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.158e-05/0.576, allocations: 114.5 kB / 0.7363 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.576, allocations: 0 / 0.7363 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002839/0.5763, allocations: 24 kB / 0.7363 GB, free: 14.83 MB / 0.5762 GB 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 (8): * Single equations (assignments): 8 * 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.0001931/0.5765, allocations: 119.1 kB / 0.7364 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.577, allocations: 131.9 kB / 0.7366 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.577, allocations: 0 / 0.7366 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.5772, allocations: 67.88 kB / 0.7366 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.5776, allocations: 41.5 kB / 0.7367 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.5782, allocations: 233.8 kB / 0.7369 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5785, allocations: 0.7002 MB / 0.7376 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000129/0.5786, allocations: 28.39 kB / 0.7376 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.5787, allocations: 19.44 kB / 0.7376 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.5787, allocations: 7.875 kB / 0.7376 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.004882/0.5836, allocations: 1.936 MB / 0.7395 GB, free: 11.53 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)