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.001251/0.001252, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001372/0.001372, allocations: 191.5 kB / 16.25 MB, free: 6.621 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7919/0.7919, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 60.75 kB / 0.5013 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4898, allocations: 80.21 MB / 0.5796 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003505/0.4934, allocations: 1.685 MB / 0.5812 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.6711, allocations: 149.4 MB / 0.7271 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.6713, allocations: 7.938 kB / 0.7271 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.6715, allocations: 7.938 kB / 0.7271 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.6718, allocations: 39.75 kB / 0.7272 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.6722, allocations: 135.5 kB / 0.7273 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.6724, allocations: 119.6 kB / 0.7274 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.6726, allocations: 35.36 kB / 0.7274 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.6744, allocations: 169.5 kB / 0.7276 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.6744, allocations: 51.77 kB / 0.7277 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6745, allocations: 4 kB / 0.7277 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.6749, allocations: 175.7 kB / 0.7278 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.6749, allocations: 31.91 kB / 0.7279 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.675, allocations: 43.8 kB / 0.7279 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.6753, allocations: 187.4 kB / 0.7281 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.6753, allocations: 7.984 kB / 0.7281 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6753, allocations: 4 kB / 0.7281 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6753, allocations: 0 / 0.7281 GB, free: 9.16 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.0007261/0.6761, allocations: 443 kB / 0.7285 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6761, allocations: 11.97 kB / 0.7285 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009482/0.6771, allocations: 83.94 kB / 0.7286 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.6773, allocations: 212.8 kB / 0.7288 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6773, allocations: 4 kB / 0.7288 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.6774, allocations: 8 kB / 0.7288 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.6778, allocations: 140.2 kB / 0.7289 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6778, allocations: 0 / 0.7289 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6779, allocations: 0 / 0.7289 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6779, allocations: 3.938 kB / 0.729 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.6784, allocations: 139.9 kB / 0.7291 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.6792, allocations: 408.4 kB / 0.7295 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.6799, allocations: 251.7 kB / 0.7297 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.6801, allocations: 80.73 kB / 0.7298 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.6802, allocations: 3.984 kB / 0.7298 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6802, allocations: 30.56 kB / 0.7298 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.6802, allocations: 0 / 0.7298 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.00077/0.681, allocations: 209.4 kB / 0.73 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.681, allocations: 59.39 kB / 0.7301 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.6812, allocations: 150.2 kB / 0.7302 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.6812, allocations: 25.7 kB / 0.7302 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.6813, allocations: 108 kB / 0.7304 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.6813, allocations: 23.8 kB / 0.7304 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.6814, allocations: 25.7 kB / 0.7304 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6815, allocations: 326.8 kB / 0.7307 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.6818, allocations: 63.81 kB / 0.7308 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.682, allocations: 74.52 kB / 0.7308 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.6824, allocations: 124.7 kB / 0.731 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6824, allocations: 0 / 0.731 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004698/0.6829, allocations: 157.5 kB / 0.7311 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6829, allocations: 6.031 kB / 0.7311 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6829, allocations: 4 kB / 0.7311 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6829, allocations: 0 / 0.7311 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.6831, allocations: 31.91 kB / 0.7312 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6832, allocations: 0 / 0.7312 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.6833, allocations: 23.89 kB / 0.7312 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.6833, allocations: 3.984 kB / 0.7312 GB, free: 5.742 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.000108/0.6834, allocations: 131.2 kB / 0.7313 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.6835, allocations: 7.906 kB / 0.7313 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.6835, allocations: 16.7 kB / 0.7313 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6836, allocations: 4 kB / 0.7313 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6836, allocations: 0 / 0.7313 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6836, allocations: 0 / 0.7313 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.6843, allocations: 466.2 kB / 0.7318 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6843, allocations: 0 / 0.7318 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.6845, allocations: 31.97 kB / 0.7318 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6845, allocations: 3.984 kB / 0.7318 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.6846, allocations: 8 kB / 0.7318 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6846, allocations: 3.938 kB / 0.7318 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6846, allocations: 0 / 0.7318 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.6851, allocations: 256 kB / 0.7321 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.6851, allocations: 81.02 kB / 0.7321 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6852, allocations: 11.92 kB / 0.7322 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6853, allocations: 19.92 kB / 0.7322 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6854, allocations: 7.984 kB / 0.7322 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.6854, allocations: 4 kB / 0.7322 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.771e-05/0.6855, allocations: 114.5 kB / 0.7323 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6855, allocations: 0 / 0.7323 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002636/0.6858, allocations: 35.94 kB / 0.7323 GB, free: 4.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.0001712/0.6859, allocations: 111.2 kB / 0.7324 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.6864, allocations: 131.9 kB / 0.7326 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6864, allocations: 7.938 kB / 0.7326 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.6866, allocations: 63.94 kB / 0.7326 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.687, allocations: 35.77 kB / 0.7327 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.6876, allocations: 259.9 kB / 0.7329 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.6878, allocations: 0.7079 MB / 0.7336 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.688, allocations: 20.42 kB / 0.7336 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.6881, allocations: 23.42 kB / 0.7336 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6881, allocations: 0 / 0.7336 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.004891/0.693, allocations: 1.826 MB / 0.7354 GB, free: 1.258 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)