Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.008774/0.008774, allocations: 102.3 kB / 15.73 MB, free: 5.902 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.00202/0.00202, allocations: 186.4 kB / 16.67 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.328 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5889/0.5889, allocations: 95.49 MB / 365.4 MB, free: 9.688 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 71.91 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1744, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003002/0.1775, allocations: 1.649 MB / 0.5727 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.677/0.8545, allocations: 162.2 MB / 0.7311 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.8548, allocations: 4 kB / 0.7311 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.8549, allocations: 15.8 kB / 0.7311 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.855, allocations: 31.72 kB / 0.7312 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.8558, allocations: 175.3 kB / 0.7313 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.856, allocations: 155.6 kB / 0.7315 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8562, allocations: 32.95 kB / 0.7315 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.8564, allocations: 79.75 kB / 0.7316 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.8566, allocations: 55.77 kB / 0.7316 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.8566, allocations: 16 kB / 0.7317 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.8569, allocations: 179.8 kB / 0.7318 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.857, allocations: 23.92 kB / 0.7319 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.8571, allocations: 51.73 kB / 0.7319 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.8575, allocations: 222.7 kB / 0.7321 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8575, allocations: 0 / 0.7321 GB, free: 9.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8575, allocations: 0 / 0.7321 GB, free: 9.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.8575, allocations: 0 / 0.7321 GB, free: 9.723 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.0008593/0.8584, allocations: 0.5597 MB / 0.7327 GB, free: 9.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.8584, allocations: 15.92 kB / 0.7327 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.8587, allocations: 35.78 kB / 0.7327 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.8591, allocations: 206.8 kB / 0.7329 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.8591, allocations: 8.562 kB / 0.7329 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.8592, allocations: 12 kB / 0.7329 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.8595, allocations: 121.6 kB / 0.733 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8596, allocations: 0 / 0.733 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.8596, allocations: 11.94 kB / 0.7331 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.8596, allocations: 0 / 0.7331 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.8599, allocations: 103.8 kB / 0.7332 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.8605, allocations: 368.1 kB / 0.7335 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.8608, allocations: 98.39 kB / 0.7336 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.861, allocations: 80.84 kB / 0.7337 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.861, allocations: 0 / 0.7337 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.861, allocations: 34.56 kB / 0.7337 GB, free: 7.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.861, allocations: 0 / 0.7337 GB, free: 7.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008215/0.8619, allocations: 305.8 kB / 0.734 GB, free: 7.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.862, allocations: 114.8 kB / 0.7341 GB, free: 7.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.8622, allocations: 162.2 kB / 0.7343 GB, free: 7.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.8622, allocations: 29.7 kB / 0.7343 GB, free: 7.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.8623, allocations: 96.12 kB / 0.7344 GB, free: 7.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.8624, allocations: 27.7 kB / 0.7344 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.8625, allocations: 33.7 kB / 0.7344 GB, free: 7.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.8627, allocations: 326.8 kB / 0.7348 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.8629, allocations: 75.94 kB / 0.7348 GB, free: 6.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.8632, allocations: 91.92 kB / 0.7349 GB, free: 6.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.8637, allocations: 331 kB / 0.7352 GB, free: 6.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8637, allocations: 0 / 0.7352 GB, free: 6.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006395/0.8644, allocations: 379.2 kB / 0.7356 GB, free: 5.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.8645, allocations: 126.8 kB / 0.7357 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8645, allocations: 3.938 kB / 0.7357 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8645, allocations: 0 / 0.7357 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.8647, allocations: 19.97 kB / 0.7357 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8647, allocations: 3.938 kB / 0.7357 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8648, allocations: 27.88 kB / 0.7358 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.8649, allocations: 11.98 kB / 0.7358 GB, free: 5.613 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra2.found,masFra2.i_nw,masFra2.i_w,masFra1.found,masFra1.i_nw,masFra1.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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.000193/0.8651, allocations: 193.2 kB / 0.736 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.8651, allocations: 7.906 kB / 0.736 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.8651, allocations: 12.7 kB / 0.736 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8651, allocations: 0 / 0.736 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.8652, allocations: 3.938 kB / 0.736 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8652, allocations: 0 / 0.736 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.8654, allocations: 213.4 kB / 0.7362 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8654, allocations: 0 / 0.7362 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.8655, allocations: 15.98 kB / 0.7362 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.8655, allocations: 0 / 0.7362 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.8656, allocations: 4 kB / 0.7362 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8656, allocations: 1.797 kB / 0.7362 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8656, allocations: 0 / 0.7362 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.8661, allocations: 374.6 kB / 0.7366 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.8662, allocations: 101 kB / 0.7367 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.8663, allocations: 4.812 kB / 0.7367 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.8664, allocations: 15.97 kB / 0.7367 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.8665, allocations: 8 kB / 0.7367 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.8665, allocations: 0 / 0.7367 GB, free: 4.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.8666, allocations: 120 kB / 0.7368 GB, free: 4.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8666, allocations: 0 / 0.7368 GB, free: 4.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003333/0.8669, allocations: 63.94 kB / 0.7369 GB, free: 4.387 MB / 0.545 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0003726/0.8673, allocations: 151.3 kB / 0.737 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006678/0.868, allocations: 457.5 kB / 0.7374 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.868, allocations: 4 kB / 0.7375 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.8683, allocations: 218.7 kB / 0.7377 GB, free: 3.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.8687, allocations: 38.75 kB / 0.7377 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.8693, allocations: 316.4 kB / 0.738 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.8696, allocations: 0.7002 MB / 0.7387 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.8696, allocations: 0.9375 kB / 0.7387 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.8697, allocations: 11.44 kB / 0.7387 GB, free: 2.383 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.8697, allocations: 0 / 0.7387 GB, free: 2.383 MB / 0.545 GB Notification: Performance of Templates: time 0.006383/0.8761, allocations: 2.808 MB / 0.7414 GB, free: 15.61 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)