Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001203/0.001204, allocations: 111.2 kB / 16.38 MB, free: 6.484 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.001148/0.001148, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 281.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 169.3 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 103.8 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4251, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002503/0.4277, allocations: 1.64 MB / 0.7686 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.5728, allocations: 151.6 MB / 0.9166 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.5729, allocations: 0 / 0.9166 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.5731, allocations: 19.8 kB / 0.9166 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.5734, allocations: 39.7 kB / 0.9167 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.5738, allocations: 147.4 kB / 0.9168 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.574, allocations: 123.6 kB / 0.9169 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.5742, allocations: 29.38 kB / 0.9169 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5753, allocations: 157.4 kB / 0.9171 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.5754, allocations: 47.75 kB / 0.9171 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5754, allocations: 8 kB / 0.9171 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.5758, allocations: 179.7 kB / 0.9173 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.5758, allocations: 23.86 kB / 0.9173 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.5759, allocations: 47.73 kB / 0.9174 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.5763, allocations: 190 kB / 0.9176 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5763, allocations: 0 / 0.9176 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5763, allocations: 3.938 kB / 0.9176 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5763, allocations: 0 / 0.9176 GB, free: 9.113 MB / 0.6856 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.0006102/0.5769, allocations: 447 kB / 0.918 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.577, allocations: 8.031 kB / 0.918 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.5779, allocations: 83.92 kB / 0.9181 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.5781, allocations: 218.6 kB / 0.9183 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5781, allocations: 0 / 0.9183 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.5782, allocations: 12 kB / 0.9183 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.5786, allocations: 132.8 kB / 0.9184 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5786, allocations: 4 kB / 0.9184 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.5786, allocations: 4 kB / 0.9184 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5786, allocations: 3.938 kB / 0.9184 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.5792, allocations: 135.9 kB / 0.9186 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.5799, allocations: 412.3 kB / 0.919 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.5806, allocations: 255.7 kB / 0.9192 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.5809, allocations: 76.8 kB / 0.9193 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.5809, allocations: 0 / 0.9193 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5809, allocations: 34.56 kB / 0.9193 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.5809, allocations: 0 / 0.9193 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0007683/0.5817, allocations: 209.4 kB / 0.9195 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.5817, allocations: 59.34 kB / 0.9196 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5819, allocations: 150.5 kB / 0.9197 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5819, allocations: 25.7 kB / 0.9197 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.582, allocations: 104.1 kB / 0.9198 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.582, allocations: 27.7 kB / 0.9199 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.5821, allocations: 25.7 kB / 0.9199 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.5822, allocations: 326.8 kB / 0.9202 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5824, allocations: 51.95 kB / 0.9203 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5826, allocations: 82.5 kB / 0.9203 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.583, allocations: 116.8 kB / 0.9204 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.583, allocations: 8.031 kB / 0.9205 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004774/0.5835, allocations: 161.4 kB / 0.9206 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5835, allocations: 7.938 kB / 0.9206 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5836, allocations: 0 / 0.9206 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5836, allocations: 0 / 0.9206 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.5838, allocations: 31.97 kB / 0.9206 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5838, allocations: 0 / 0.9206 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.5839, allocations: 23.83 kB / 0.9207 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.584, allocations: 3.984 kB / 0.9207 GB, free: 5.691 MB / 0.6856 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.0001045/0.5841, allocations: 128.2 kB / 0.9208 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.5841, allocations: 7.906 kB / 0.9208 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.5842, allocations: 16.66 kB / 0.9208 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5842, allocations: 4 kB / 0.9208 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5842, allocations: 0 / 0.9208 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.5842, allocations: 3.984 kB / 0.9208 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.585, allocations: 462.3 kB / 0.9213 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.585, allocations: 0 / 0.9213 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.5852, allocations: 31.95 kB / 0.9213 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5852, allocations: 0 / 0.9213 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5852, allocations: 0 / 0.9213 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5852, allocations: 3.938 kB / 0.9213 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5852, allocations: 0 / 0.9213 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.5858, allocations: 263.8 kB / 0.9215 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.5858, allocations: 85.02 kB / 0.9216 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.5858, allocations: 0 / 0.9216 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.586, allocations: 31.91 kB / 0.9217 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5861, allocations: 0 / 0.9217 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.5861, allocations: 7.984 kB / 0.9217 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.206e-05/0.5862, allocations: 111.3 kB / 0.9218 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5862, allocations: 0 / 0.9218 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002604/0.5864, allocations: 31.92 kB / 0.9218 GB, free: 4.43 MB / 0.6856 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.0001603/0.5866, allocations: 111.2 kB / 0.9219 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.5871, allocations: 139.9 kB / 0.922 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5871, allocations: 0 / 0.922 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.5873, allocations: 63.94 kB / 0.9221 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.5877, allocations: 28.92 kB / 0.9221 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.5883, allocations: 268.7 kB / 0.9224 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.5885, allocations: 0.708 MB / 0.9231 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.5886, allocations: 15.44 kB / 0.9231 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of SimCode: time 4e-07/0.5886, allocations: 0 / 0.9231 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of Templates: time 0.00331/0.5919, allocations: 1.711 MB / 0.9248 GB, free: 1.34 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)