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.001057/0.001057, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001111/0.001111, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.2 MB / 422.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.89 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3651, allocations: 80.19 MB / 0.5802 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00264/0.3678, allocations: 1.692 MB / 0.5819 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1584/0.5262, allocations: 149.4 MB / 0.7277 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.5264, allocations: 0 / 0.7277 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.5266, allocations: 11.86 kB / 0.7277 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.5269, allocations: 47.77 kB / 0.7278 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.5274, allocations: 123.5 kB / 0.7279 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.5276, allocations: 123.6 kB / 0.728 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.5278, allocations: 31.5 kB / 0.7281 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.5297, allocations: 169.8 kB / 0.7282 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.5298, allocations: 35.84 kB / 0.7283 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.5298, allocations: 11.94 kB / 0.7283 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.5302, allocations: 183.7 kB / 0.7284 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.5303, allocations: 27.89 kB / 0.7285 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.5303, allocations: 35.81 kB / 0.7285 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.5306, allocations: 135.7 kB / 0.7286 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5306, allocations: 8 kB / 0.7286 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5306, allocations: 0 / 0.7286 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5306, allocations: 7.938 kB / 0.7286 GB, free: 6.164 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.000628/0.5313, allocations: 444.9 kB / 0.7291 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5313, allocations: 8.031 kB / 0.7291 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.5323, allocations: 83.84 kB / 0.7292 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.5325, allocations: 206.8 kB / 0.7294 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5326, allocations: 8 kB / 0.7294 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.5326, allocations: 8 kB / 0.7294 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.533, allocations: 136 kB / 0.7295 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.533, allocations: 7.984 kB / 0.7295 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5331, allocations: 0 / 0.7295 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5331, allocations: 3.938 kB / 0.7295 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.5336, allocations: 143.8 kB / 0.7297 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.5344, allocations: 412.4 kB / 0.73 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.5351, allocations: 247.7 kB / 0.7303 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.5353, allocations: 76.8 kB / 0.7304 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5353, allocations: 0 / 0.7304 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5354, allocations: 34.56 kB / 0.7304 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.5354, allocations: 0 / 0.7304 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007632/0.5361, allocations: 221.3 kB / 0.7306 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5362, allocations: 59.41 kB / 0.7307 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5363, allocations: 142.5 kB / 0.7308 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.5363, allocations: 29.7 kB / 0.7308 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.5364, allocations: 104 kB / 0.7309 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.5364, allocations: 23.8 kB / 0.7309 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.5365, allocations: 25.7 kB / 0.731 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5366, allocations: 326.8 kB / 0.7313 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.5368, allocations: 55.89 kB / 0.7313 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.5371, allocations: 74.52 kB / 0.7314 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5375, allocations: 120.8 kB / 0.7315 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5375, allocations: 0 / 0.7315 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004731/0.538, allocations: 161.4 kB / 0.7317 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.538, allocations: 7.984 kB / 0.7317 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.538, allocations: 0 / 0.7317 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.538, allocations: 0 / 0.7317 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5382, allocations: 27.97 kB / 0.7317 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5382, allocations: 0 / 0.7317 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.5384, allocations: 23.89 kB / 0.7317 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5384, allocations: 3.984 kB / 0.7317 GB, free: 2.75 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.176e-05/0.5385, allocations: 121.8 kB / 0.7318 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.5386, allocations: 11.91 kB / 0.7319 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.5387, allocations: 12.72 kB / 0.7319 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5387, allocations: 4 kB / 0.7319 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5387, allocations: 3.938 kB / 0.7319 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5387, allocations: 3.984 kB / 0.7319 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.5395, allocations: 470.2 kB / 0.7323 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5395, allocations: 0 / 0.7323 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.5397, allocations: 35.95 kB / 0.7324 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5397, allocations: 4 kB / 0.7324 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5397, allocations: 0 / 0.7324 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5397, allocations: 3.938 kB / 0.7324 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5397, allocations: 0 / 0.7324 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.5403, allocations: 263.3 kB / 0.7326 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.5403, allocations: 85.02 kB / 0.7327 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.5403, allocations: 0 / 0.7327 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.5405, allocations: 23.91 kB / 0.7327 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.5406, allocations: 4 kB / 0.7327 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5406, allocations: 7.984 kB / 0.7327 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.5407, allocations: 111.5 kB / 0.7328 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5407, allocations: 4 kB / 0.7328 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002804/0.541, allocations: 39.84 kB / 0.7329 GB, free: 1.465 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.0001665/0.5412, allocations: 110.2 kB / 0.733 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.5417, allocations: 140.5 kB / 0.7331 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5417, allocations: 0 / 0.7331 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.5419, allocations: 67.88 kB / 0.7332 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.5423, allocations: 40.12 kB / 0.7332 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.5429, allocations: 284.9 kB / 0.7335 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5432, allocations: 0.6963 MB / 0.7342 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.5433, allocations: 15.44 kB / 0.7342 GB, free: 60 kB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5433, allocations: 0 / 0.7342 GB, free: 60 kB / 0.5606 GB Notification: Performance of Templates: time 0.003628/0.5469, allocations: 1.726 MB / 0.7359 GB, free: 14.34 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)