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.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 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.001149/0.001149, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.2 kB / 0.5018 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 80.2 MB / 0.5801 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.0028/0.1584, allocations: 1.635 MB / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4009/0.5592, allocations: 151.6 MB / 0.7297 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.5594, allocations: 1.125 kB / 0.7297 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.5597, allocations: 24.16 kB / 0.7297 GB, free: 2.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.56, allocations: 41.73 kB / 0.7297 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.5605, allocations: 150.6 kB / 0.7299 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.5607, allocations: 119.5 kB / 0.73 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.5608, allocations: 30.02 kB / 0.73 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5619, allocations: 160.3 kB / 0.7302 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.562, allocations: 46.42 kB / 0.7302 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.562, allocations: 10.47 kB / 0.7302 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.5624, allocations: 177.4 kB / 0.7304 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.5625, allocations: 24.08 kB / 0.7304 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.5625, allocations: 48.19 kB / 0.7305 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.5628, allocations: 187.5 kB / 0.7307 GB, free: 2.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5629, allocations: 0 / 0.7307 GB, free: 2.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5629, allocations: 1.375 kB / 0.7307 GB, free: 2.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5629, allocations: 0 / 0.7307 GB, free: 2.152 MB / 0.545 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.0005869/0.5635, allocations: 443 kB / 0.7311 GB, free: 1.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5635, allocations: 9.844 kB / 0.7311 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009024/0.5644, allocations: 86.64 kB / 0.7312 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.5646, allocations: 208.1 kB / 0.7314 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5647, allocations: 7.25 kB / 0.7314 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.5647, allocations: 9.75 kB / 0.7314 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.5651, allocations: 136.5 kB / 0.7315 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5651, allocations: 0 / 0.7315 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5652, allocations: 1.281 kB / 0.7315 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5652, allocations: 6.031 kB / 0.7315 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.5657, allocations: 142.1 kB / 0.7317 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.5665, allocations: 418.8 kB / 0.7321 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.5672, allocations: 249.9 kB / 0.7323 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.5675, allocations: 76.28 kB / 0.7324 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.5675, allocations: 5.75 kB / 0.7324 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5675, allocations: 31.45 kB / 0.7324 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.5675, allocations: 1.219 kB / 0.7324 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007766/0.5683, allocations: 219.2 kB / 0.7326 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5683, allocations: 59 kB / 0.7327 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5685, allocations: 142.8 kB / 0.7328 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5685, allocations: 27.14 kB / 0.7328 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.5686, allocations: 108.1 kB / 0.7329 GB, free: 468 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.5686, allocations: 23.02 kB / 0.733 GB, free: 448 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.5687, allocations: 25.3 kB / 0.733 GB, free: 428 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5688, allocations: 330.8 kB / 0.7333 GB, free: 96 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.569, allocations: 48.11 kB / 0.7333 GB, free: 88 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.5692, allocations: 73.23 kB / 0.7334 GB, free: 52 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.5696, allocations: 119 kB / 0.7335 GB, free: 16 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5696, allocations: 1 kB / 0.7335 GB, free: 16 kB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000521/0.5702, allocations: 162.8 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5702, allocations: 5.406 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5702, allocations: 0 / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5702, allocations: 2.141 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.5704, allocations: 28.56 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5705, allocations: 3.938 kB / 0.7337 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5706, allocations: 25.86 kB / 0.7337 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.5706, allocations: 4.922 kB / 0.7338 GB, free: 15.93 MB / 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.0001121/0.5707, allocations: 120.7 kB / 0.7339 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.5708, allocations: 8.906 kB / 0.7339 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.5708, allocations: 17.41 kB / 0.7339 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5709, allocations: 1.375 kB / 0.7339 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5709, allocations: 4 kB / 0.7339 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5709, allocations: 1.531 kB / 0.7339 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.5717, allocations: 469.2 kB / 0.7343 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5717, allocations: 6.547 kB / 0.7344 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.5719, allocations: 32.83 kB / 0.7344 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5719, allocations: 3.828 kB / 0.7344 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5719, allocations: 3.547 kB / 0.7344 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.5719, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5719, allocations: 5.312 kB / 0.7344 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.5724, allocations: 259 kB / 0.7346 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.5725, allocations: 87.58 kB / 0.7347 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.5725, allocations: 3.562 kB / 0.7347 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.5726, allocations: 13.91 kB / 0.7347 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.5727, allocations: 15.08 kB / 0.7348 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5727, allocations: 5.438 kB / 0.7348 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.5728, allocations: 111.6 kB / 0.7349 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5728, allocations: 0 / 0.7349 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002629/0.5731, allocations: 28.94 kB / 0.7349 GB, free: 15.05 MB / 0.5606 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.0001572/0.5732, allocations: 112.6 kB / 0.735 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.5737, allocations: 134 kB / 0.7351 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5738, allocations: 0 / 0.7351 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.574, allocations: 69.08 kB / 0.7352 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.5743, allocations: 34.3 kB / 0.7352 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.5749, allocations: 238.8 kB / 0.7355 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.5752, allocations: 0.6998 MB / 0.7361 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000145/0.5753, allocations: 31.92 kB / 0.7362 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.5754, allocations: 17.97 kB / 0.7362 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5754, allocations: 0 / 0.7362 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.004506/0.5799, allocations: 1.93 MB / 0.7381 GB, free: 13.47 MB / 0.5606 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)