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.001045/0.001045, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001067/0.001067, allocations: 194.8 kB / 16.14 MB, free: 6.121 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 279.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 91.02 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1826, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002822/0.1855, allocations: 1.692 MB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.462/0.6475, allocations: 149.3 MB / 0.8268 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.6477, allocations: 1.406 kB / 0.8268 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.6479, allocations: 11.91 kB / 0.8269 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.6481, allocations: 41.97 kB / 0.8269 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.6485, allocations: 128.3 kB / 0.827 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.6487, allocations: 112.8 kB / 0.8271 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.6488, allocations: 24.28 kB / 0.8271 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.6505, allocations: 158.1 kB / 0.8273 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.6506, allocations: 41.05 kB / 0.8273 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.6506, allocations: 4.688 kB / 0.8273 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.651, allocations: 179.3 kB / 0.8275 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.6511, allocations: 16.88 kB / 0.8275 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.6511, allocations: 45.5 kB / 0.8276 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.6514, allocations: 189.6 kB / 0.8278 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6515, allocations: 0 / 0.8278 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6515, allocations: 0 / 0.8278 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6515, allocations: 0 / 0.8278 GB, free: 0.6953 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.0006093/0.6521, allocations: 450.6 kB / 0.8282 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6521, allocations: 8.656 kB / 0.8282 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.6531, allocations: 86.95 kB / 0.8283 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.6533, allocations: 201.6 kB / 0.8285 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6533, allocations: 9.453 kB / 0.8285 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.6534, allocations: 4.344 kB / 0.8285 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.6538, allocations: 141.9 kB / 0.8286 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6538, allocations: 7.188 kB / 0.8286 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.6538, allocations: 1.062 kB / 0.8286 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6539, allocations: 6.25 kB / 0.8286 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.6544, allocations: 137.5 kB / 0.8288 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.6552, allocations: 412.2 kB / 0.8292 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.656, allocations: 252 kB / 0.8294 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.6562, allocations: 71.92 kB / 0.8295 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.6563, allocations: 10.7 kB / 0.8295 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.6563, allocations: 35.06 kB / 0.8295 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.6563, allocations: 0 / 0.8295 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0008164/0.6571, allocations: 213.2 kB / 0.8297 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.6572, allocations: 52.53 kB / 0.8298 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6573, allocations: 148.8 kB / 0.8299 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.6573, allocations: 30.92 kB / 0.8299 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.6574, allocations: 104.2 kB / 0.83 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.6574, allocations: 26.05 kB / 0.8301 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.6575, allocations: 21.86 kB / 0.8301 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6576, allocations: 326.7 kB / 0.8304 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.6579, allocations: 53 kB / 0.8304 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.6581, allocations: 85.66 kB / 0.8305 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.6585, allocations: 125.1 kB / 0.8306 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6586, allocations: 0 / 0.8306 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005129/0.6591, allocations: 157.9 kB / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6591, allocations: 5.062 kB / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6591, allocations: 1.375 kB / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6591, allocations: 4 kB / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.6593, allocations: 33.22 kB / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6594, allocations: 0 / 0.8308 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.6595, allocations: 18.92 kB / 0.8309 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.6595, allocations: 8.812 kB / 0.8309 GB, free: 14.79 MB / 0.5762 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.0001026/0.6597, allocations: 122.6 kB / 0.831 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.6597, allocations: 12.53 kB / 0.831 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.6598, allocations: 17.27 kB / 0.831 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6598, allocations: 1.125 kB / 0.831 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6598, allocations: 0 / 0.831 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6598, allocations: 0 / 0.831 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008103/0.6606, allocations: 470.7 kB / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6606, allocations: 1.031 kB / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6608, allocations: 31.62 kB / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6608, allocations: 4.969 kB / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6608, allocations: 1.094 kB / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6609, allocations: 0 / 0.8315 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6609, allocations: 9.953 kB / 0.8315 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.6614, allocations: 249 kB / 0.8317 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.6614, allocations: 86.36 kB / 0.8318 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.6615, allocations: 5.094 kB / 0.8318 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6617, allocations: 25.05 kB / 0.8318 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.6617, allocations: 12.11 kB / 0.8319 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6617, allocations: 2.562 kB / 0.8319 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.653e-05/0.6618, allocations: 114 kB / 0.832 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6618, allocations: 0 / 0.832 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002828/0.6621, allocations: 34.72 kB / 0.832 GB, free: 14.01 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.0001676/0.6623, allocations: 111.6 kB / 0.8321 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.6628, allocations: 119.3 kB / 0.8322 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6628, allocations: 0 / 0.8322 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.6631, allocations: 76.44 kB / 0.8323 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.6634, allocations: 31.11 kB / 0.8323 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.6641, allocations: 262.8 kB / 0.8326 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6643, allocations: 0.7047 MB / 0.8333 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.6645, allocations: 28.86 kB / 0.8333 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.6646, allocations: 16.22 kB / 0.8333 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6646, allocations: 0 / 0.8333 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.005372/0.67, allocations: 1.76 MB / 0.835 GB, free: 12.8 MB / 0.5762 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)