Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009778/0.0009779, allocations: 102.9 kB / 16.27 MB, free: 5.965 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.00104/0.00104, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8154/0.8154, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4226, allocations: 77.92 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002944/0.4255, allocations: 1.634 MB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1817/0.6073, allocations: 151.5 MB / 0.7168 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.6075, allocations: 0 / 0.7168 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.6077, allocations: 19.8 kB / 0.7168 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.6079, allocations: 39.72 kB / 0.7168 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.6083, allocations: 147.4 kB / 0.717 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.6085, allocations: 131.5 kB / 0.7171 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.6086, allocations: 23.38 kB / 0.7171 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.6097, allocations: 184.9 kB / 0.7173 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.6098, allocations: 39.84 kB / 0.7173 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.6098, allocations: 8 kB / 0.7173 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.6102, allocations: 179.6 kB / 0.7175 GB, free: 396 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.6103, allocations: 19.92 kB / 0.7175 GB, free: 376 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.6103, allocations: 47.8 kB / 0.7176 GB, free: 328 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.6107, allocations: 191.4 kB / 0.7178 GB, free: 136 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6107, allocations: 0 / 0.7178 GB, free: 136 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6107, allocations: 0 / 0.7178 GB, free: 136 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6107, allocations: 4 kB / 0.7178 GB, free: 132 kB / 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.0006025/0.6113, allocations: 443 kB / 0.7182 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6114, allocations: 12.62 kB / 0.7182 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.6123, allocations: 79.94 kB / 0.7183 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.6125, allocations: 210.7 kB / 0.7185 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.6125, allocations: 4 kB / 0.7185 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6125, allocations: 8 kB / 0.7185 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.6129, allocations: 133.6 kB / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.613, allocations: 0 / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.613, allocations: 7.984 kB / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.613, allocations: 7.938 kB / 0.7186 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.6135, allocations: 135.8 kB / 0.7188 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.6143, allocations: 416.3 kB / 0.7192 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.615, allocations: 255.7 kB / 0.7194 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.6153, allocations: 72.8 kB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.6153, allocations: 4 kB / 0.7195 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6153, allocations: 34.55 kB / 0.7195 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.6153, allocations: 0 / 0.7195 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007583/0.6161, allocations: 213.4 kB / 0.7197 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.6161, allocations: 55.39 kB / 0.7198 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.6163, allocations: 152.9 kB / 0.7199 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.6163, allocations: 25.7 kB / 0.7199 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.6164, allocations: 100.1 kB / 0.72 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6164, allocations: 31.69 kB / 0.7201 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.6165, allocations: 25.72 kB / 0.7201 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6166, allocations: 322.8 kB / 0.7204 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6168, allocations: 59.88 kB / 0.7204 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.6171, allocations: 78.52 kB / 0.7205 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.6175, allocations: 116.8 kB / 0.7206 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6175, allocations: 0 / 0.7206 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000498/0.618, allocations: 157.4 kB / 0.7208 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6181, allocations: 8 kB / 0.7208 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.6181, allocations: 7.938 kB / 0.7208 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6181, allocations: 0 / 0.7208 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.6183, allocations: 27.97 kB / 0.7208 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6183, allocations: 0 / 0.7208 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.6185, allocations: 19.88 kB / 0.7208 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.6185, allocations: 8 kB / 0.7209 GB, free: 12.71 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.0001201/0.6186, allocations: 122.4 kB / 0.721 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.6187, allocations: 11.91 kB / 0.721 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.6187, allocations: 20.7 kB / 0.721 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6188, allocations: 0 / 0.721 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.6188, allocations: 0 / 0.721 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6188, allocations: 4 kB / 0.721 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.6196, allocations: 462.8 kB / 0.7214 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6197, allocations: 4 kB / 0.7215 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6198, allocations: 23.97 kB / 0.7215 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6198, allocations: 0 / 0.7215 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.6199, allocations: 8 kB / 0.7215 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6199, allocations: 7.938 kB / 0.7215 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6199, allocations: 0 / 0.7215 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.6204, allocations: 263.2 kB / 0.7217 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.6205, allocations: 93 kB / 0.7218 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.6205, allocations: 4 kB / 0.7218 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.6207, allocations: 15.92 kB / 0.7218 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.6208, allocations: 7.984 kB / 0.7219 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.6208, allocations: 0 / 0.7219 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.6209, allocations: 117.9 kB / 0.722 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6209, allocations: 0 / 0.722 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000286/0.6212, allocations: 24 kB / 0.722 GB, free: 11.45 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.0002035/0.6214, allocations: 123.2 kB / 0.7221 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.622, allocations: 123.8 kB / 0.7222 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.622, allocations: 0 / 0.7222 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6222, allocations: 71.88 kB / 0.7223 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.6226, allocations: 33.22 kB / 0.7223 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.6232, allocations: 239.1 kB / 0.7226 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.6235, allocations: 0.7079 MB / 0.7232 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000147/0.6237, allocations: 24.8 kB / 0.7233 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.6238, allocations: 19.42 kB / 0.7233 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6238, allocations: 0 / 0.7233 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.004828/0.6286, allocations: 1.941 MB / 0.7252 GB, free: 8.156 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)