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.0009649/0.0009651, allocations: 97.95 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.006149/0.006149, allocations: 169 kB / 16.26 MB, free: 6.652 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8145/0.8145, allocations: 132.4 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 8 kB / 0.504 GB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4964, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002037/0.4985, allocations: 1.346 MB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1742/0.6728, allocations: 147.7 MB / 0.7292 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.673, allocations: 0 / 0.7292 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.6731, allocations: 7.938 kB / 0.7292 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.6733, allocations: 43.75 kB / 0.7292 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.6737, allocations: 131.5 kB / 0.7294 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.6739, allocations: 107.6 kB / 0.7295 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.674, allocations: 35.28 kB / 0.7295 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.6758, allocations: 145.8 kB / 0.7296 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.6758, allocations: 35.78 kB / 0.7297 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.6759, allocations: 4 kB / 0.7297 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.6762, allocations: 183.6 kB / 0.7299 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.6763, allocations: 15.92 kB / 0.7299 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.6764, allocations: 69.42 kB / 0.7299 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.6766, allocations: 187.4 kB / 0.7301 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6766, allocations: 0 / 0.7301 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6767, allocations: 0 / 0.7301 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.6767, allocations: 0 / 0.7301 GB, free: 9.988 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.0006082/0.6773, allocations: 439.1 kB / 0.7305 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6773, allocations: 8.031 kB / 0.7305 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.6782, allocations: 87.78 kB / 0.7306 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.6785, allocations: 204.5 kB / 0.7308 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6785, allocations: 8 kB / 0.7308 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.6785, allocations: 4 kB / 0.7308 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.679, allocations: 152.4 kB / 0.731 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.679, allocations: 0 / 0.731 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.679, allocations: 0 / 0.731 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.679, allocations: 3.938 kB / 0.731 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/0.6796, allocations: 163.9 kB / 0.7311 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.6804, allocations: 416.3 kB / 0.7315 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.6811, allocations: 259.7 kB / 0.7318 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.6813, allocations: 88.8 kB / 0.7319 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.6814, allocations: 0 / 0.7319 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.6814, allocations: 30.56 kB / 0.7319 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.6814, allocations: 0 / 0.7319 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008119/0.6822, allocations: 253.4 kB / 0.7321 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6823, allocations: 55.34 kB / 0.7322 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.6824, allocations: 142.5 kB / 0.7323 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.6824, allocations: 29.7 kB / 0.7324 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.6825, allocations: 108 kB / 0.7325 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.6825, allocations: 27.8 kB / 0.7325 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.6826, allocations: 9.719 kB / 0.7325 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6827, allocations: 326.8 kB / 0.7328 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6829, allocations: 67.94 kB / 0.7329 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.6832, allocations: 90.81 kB / 0.733 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.6836, allocations: 140.8 kB / 0.7331 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6836, allocations: 3.938 kB / 0.7331 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005309/0.6842, allocations: 193.3 kB / 0.7333 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6842, allocations: 4 kB / 0.7333 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6842, allocations: 0 / 0.7333 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6842, allocations: 3.984 kB / 0.7333 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6844, allocations: 39.97 kB / 0.7333 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.6844, allocations: 0 / 0.7333 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6846, allocations: 23.97 kB / 0.7334 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.6846, allocations: 0 / 0.7334 GB, free: 6.422 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 9.411e-05/0.6847, allocations: 131.2 kB / 0.7335 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.6848, allocations: 11.84 kB / 0.7335 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.6848, allocations: 20.7 kB / 0.7335 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6848, allocations: 0 / 0.7335 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6848, allocations: 0 / 0.7335 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6848, allocations: 0 / 0.7335 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.6857, allocations: 490.2 kB / 0.734 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6857, allocations: 4 kB / 0.734 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.6859, allocations: 31.97 kB / 0.734 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6859, allocations: 0 / 0.734 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.6859, allocations: 0 / 0.734 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6859, allocations: 7.922 kB / 0.734 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6859, allocations: 4 kB / 0.734 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.6865, allocations: 279.3 kB / 0.7343 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.6865, allocations: 85 kB / 0.7344 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.6866, allocations: 4 kB / 0.7344 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.6868, allocations: 23.92 kB / 0.7344 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.6868, allocations: 7.984 kB / 0.7344 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.6868, allocations: 4 kB / 0.7344 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.6869, allocations: 118.7 kB / 0.7345 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6869, allocations: 0 / 0.7345 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002628/0.6872, allocations: 35.84 kB / 0.7346 GB, free: 5.09 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.0001766/0.6874, allocations: 103.2 kB / 0.7347 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.6879, allocations: 155.8 kB / 0.7348 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6879, allocations: 4 kB / 0.7348 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.6882, allocations: 75.88 kB / 0.7349 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.6886, allocations: 36.53 kB / 0.7349 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.6892, allocations: 265.1 kB / 0.7352 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6895, allocations: 0.7004 MB / 0.7359 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000159/0.6897, allocations: 32.39 kB / 0.7359 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.6898, allocations: 15.44 kB / 0.7359 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6898, allocations: 0 / 0.7359 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.004796/0.6946, allocations: 1.749 MB / 0.7376 GB, free: 1.945 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)