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.001385/0.001385, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001486/0.001486, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.89 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3744, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002909/0.3773, allocations: 1.643 MB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.5401, allocations: 151.6 MB / 0.7311 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.5403, allocations: 0 / 0.7311 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.5405, allocations: 27.73 kB / 0.7311 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.5408, allocations: 43.69 kB / 0.7312 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.5412, allocations: 147.4 kB / 0.7313 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.5414, allocations: 115.6 kB / 0.7314 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.5416, allocations: 37.38 kB / 0.7315 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5427, allocations: 160.5 kB / 0.7316 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.5428, allocations: 39.78 kB / 0.7316 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.5429, allocations: 8 kB / 0.7317 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.5432, allocations: 179.6 kB / 0.7318 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.5433, allocations: 23.91 kB / 0.7319 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.5434, allocations: 55.73 kB / 0.7319 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.5437, allocations: 189.2 kB / 0.7321 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5437, allocations: 4 kB / 0.7321 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5437, allocations: 0 / 0.7321 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5438, allocations: 0 / 0.7321 GB, free: 3.539 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.0006503/0.5444, allocations: 446.9 kB / 0.7325 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5445, allocations: 11.97 kB / 0.7325 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.5454, allocations: 87.84 kB / 0.7326 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.5456, allocations: 210.8 kB / 0.7328 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5457, allocations: 4 kB / 0.7328 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.5457, allocations: 12 kB / 0.7328 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.5461, allocations: 136.2 kB / 0.733 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5462, allocations: 0 / 0.733 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.5462, allocations: 4 kB / 0.733 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5462, allocations: 3.938 kB / 0.733 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.5467, allocations: 139.8 kB / 0.7331 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.5475, allocations: 408.4 kB / 0.7335 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.5481, allocations: 255.7 kB / 0.7337 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5484, allocations: 72.8 kB / 0.7338 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.5484, allocations: 3.984 kB / 0.7338 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5484, allocations: 38.56 kB / 0.7338 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.5484, allocations: 4 kB / 0.7338 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007318/0.5492, allocations: 217.4 kB / 0.7341 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5492, allocations: 51.41 kB / 0.7341 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5494, allocations: 144.9 kB / 0.7342 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5494, allocations: 25.7 kB / 0.7343 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.5495, allocations: 108 kB / 0.7344 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5495, allocations: 23.78 kB / 0.7344 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.5496, allocations: 25.7 kB / 0.7344 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5497, allocations: 322.8 kB / 0.7347 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5499, allocations: 59.94 kB / 0.7348 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5502, allocations: 74.52 kB / 0.7348 GB, free: 476 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.5505, allocations: 120.8 kB / 0.735 GB, free: 352 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5505, allocations: 0 / 0.735 GB, free: 352 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004498/0.551, allocations: 165.4 kB / 0.7351 GB, free: 180 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.551, allocations: 4 kB / 0.7351 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.551, allocations: 4 kB / 0.7351 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5511, allocations: 4 kB / 0.7351 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.5513, allocations: 23.97 kB / 0.7352 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.5513, allocations: 0 / 0.7352 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.5514, allocations: 27.88 kB / 0.7352 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.5514, allocations: 0 / 0.7352 GB, free: 116 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.0001067/0.5516, allocations: 129.7 kB / 0.7353 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.5516, allocations: 7.906 kB / 0.7353 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.5517, allocations: 16.7 kB / 0.7353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5517, allocations: 0 / 0.7353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5517, allocations: 0 / 0.7353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5517, allocations: 0 / 0.7353 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.5524, allocations: 474.1 kB / 0.7358 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5525, allocations: 0 / 0.7358 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5526, allocations: 35.91 kB / 0.7358 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5527, allocations: 0 / 0.7358 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5527, allocations: 3.984 kB / 0.7358 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5527, allocations: 3.938 kB / 0.7358 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5527, allocations: 0 / 0.7358 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.5532, allocations: 263.9 kB / 0.7361 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.5532, allocations: 81.02 kB / 0.7362 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.5533, allocations: 4 kB / 0.7362 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5535, allocations: 19.92 kB / 0.7362 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.5535, allocations: 3.984 kB / 0.7362 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5535, allocations: 4 kB / 0.7362 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.922e-05/0.5536, allocations: 118.7 kB / 0.7363 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5536, allocations: 4 kB / 0.7363 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002741/0.5539, allocations: 24 kB / 0.7363 GB, free: 14.84 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.0001669/0.5541, allocations: 119.2 kB / 0.7364 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.5546, allocations: 131.9 kB / 0.7366 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5546, allocations: 0 / 0.7366 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.5548, allocations: 63.94 kB / 0.7366 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.5551, allocations: 35.83 kB / 0.7367 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.5557, allocations: 231.1 kB / 0.7369 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.556, allocations: 0.7041 MB / 0.7376 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.5561, allocations: 24.42 kB / 0.7376 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.5562, allocations: 23.42 kB / 0.7376 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5562, allocations: 0 / 0.7376 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.004721/0.5609, allocations: 1.934 MB / 0.7395 GB, free: 11.56 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)