Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001399/0.0014, allocations: 191.2 kB / 16.25 MB, free: 6.648 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 290.8 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.507 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 95.59 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1569, allocations: 89.16 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00297/0.1599, allocations: 1.555 MB / 0.6945 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4414/0.6013, allocations: 130.1 MB / 0.8215 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.6014, allocations: 5.438 kB / 0.8215 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.6015, allocations: 2.672 kB / 0.8215 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.6016, allocations: 9.219 kB / 0.8216 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.6019, allocations: 61.59 kB / 0.8216 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.602, allocations: 55.25 kB / 0.8217 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.6021, allocations: 14.7 kB / 0.8217 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.6022, allocations: 13.72 kB / 0.8217 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.6022, allocations: 34.41 kB / 0.8217 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.6023, allocations: 4.906 kB / 0.8217 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.6023, allocations: 21.36 kB / 0.8218 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.6024, allocations: 7.172 kB / 0.8218 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.6024, allocations: 24.22 kB / 0.8218 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.6025, allocations: 59.52 kB / 0.8218 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6025, allocations: 4 kB / 0.8218 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6025, allocations: 1.219 kB / 0.8218 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6026, allocations: 0 / 0.8218 GB, free: 9.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005238/0.6031, allocations: 371.8 kB / 0.8222 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6031, allocations: 9.469 kB / 0.8222 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.6032, allocations: 7.906 kB / 0.8222 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6033, allocations: 173.4 kB / 0.8224 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6033, allocations: 5.688 kB / 0.8224 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.6034, allocations: 2.969 kB / 0.8224 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.6036, allocations: 73.14 kB / 0.8225 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6036, allocations: 4.188 kB / 0.8225 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6036, allocations: 3.938 kB / 0.8225 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6037, allocations: 5.156 kB / 0.8225 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.6039, allocations: 68.94 kB / 0.8225 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.6043, allocations: 292.2 kB / 0.8228 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.6046, allocations: 54.2 kB / 0.8229 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.6047, allocations: 41.09 kB / 0.8229 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.6049, allocations: 87.55 kB / 0.823 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.605, allocations: 38.22 kB / 0.823 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.605, allocations: 0 / 0.823 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005165/0.6055, allocations: 124 kB / 0.8231 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.6055, allocations: 55.02 kB / 0.8232 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6056, allocations: 121.3 kB / 0.8233 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.6057, allocations: 25.7 kB / 0.8233 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.6057, allocations: 86.58 kB / 0.8234 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6058, allocations: 15.59 kB / 0.8234 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.6058, allocations: 12.88 kB / 0.8234 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.606, allocations: 322.1 kB / 0.8238 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.6061, allocations: 39.42 kB / 0.8238 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.6063, allocations: 39.69 kB / 0.8238 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.6065, allocations: 66.94 kB / 0.8239 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6065, allocations: 0 / 0.8239 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000304/0.6068, allocations: 99.05 kB / 0.824 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.6069, allocations: 6.625 kB / 0.824 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6069, allocations: 0 / 0.824 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6069, allocations: 0 / 0.824 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.607, allocations: 15.91 kB / 0.824 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.607, allocations: 6.656 kB / 0.824 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.6071, allocations: 20.59 kB / 0.824 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.6071, allocations: 4 kB / 0.824 GB, free: 8.047 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 (3): * Single equations (assignments): 3 * 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 8.825e-05/0.6072, allocations: 116.8 kB / 0.8242 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.6073, allocations: 1.75 kB / 0.8242 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.6076, allocations: 106.8 kB / 0.8243 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6076, allocations: 0 / 0.8243 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6076, allocations: 5.375 kB / 0.8243 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6077, allocations: 3.938 kB / 0.8243 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.6078, allocations: 172.5 kB / 0.8244 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6079, allocations: 0.5 kB / 0.8244 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.608, allocations: 17.81 kB / 0.8244 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.608, allocations: 1.125 kB / 0.8244 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.608, allocations: 0 / 0.8244 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.608, allocations: 6.5 kB / 0.8245 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.608, allocations: 0 / 0.8245 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.6084, allocations: 203.1 kB / 0.8246 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.6084, allocations: 78.17 kB / 0.8247 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.6084, allocations: 1.094 kB / 0.8247 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6086, allocations: 12.28 kB / 0.8247 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.6086, allocations: 4.234 kB / 0.8247 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.6086, allocations: 4.875 kB / 0.8247 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.6087, allocations: 96.95 kB / 0.8248 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6087, allocations: 0 / 0.8248 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002458/0.6089, allocations: 15.12 kB / 0.8248 GB, free: 7.332 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 (3): * Single equations (assignments): 3 * 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.0001509/0.6091, allocations: 111.8 kB / 0.825 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.6094, allocations: 74.92 kB / 0.825 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6094, allocations: 0 / 0.825 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6096, allocations: 35.11 kB / 0.8251 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.6099, allocations: 16.5 kB / 0.8251 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.6103, allocations: 171.1 kB / 0.8252 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6106, allocations: 0.6833 MB / 0.8259 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.6107, allocations: 9.891 kB / 0.8259 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.6107, allocations: 9.656 kB / 0.8259 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6107, allocations: 0 / 0.8259 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.003424/0.6141, allocations: 0.8922 MB / 0.8268 GB, free: 6.262 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)