Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009622/0.0009619, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001051/0.001051, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0007814/0.0007815, allocations: 13.94 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2907, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002425/0.2932, allocations: 1.203 MB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.4433, allocations: 119.6 MB / 0.9053 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.4435, allocations: 4 kB / 0.9053 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.4435, allocations: 3.938 kB / 0.9053 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.4436, allocations: 15.91 kB / 0.9053 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.444, allocations: 47.8 kB / 0.9054 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.4441, allocations: 47.8 kB / 0.9054 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4443, allocations: 11.98 kB / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.4443, allocations: 11.98 kB / 0.9054 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.4444, allocations: 27.86 kB / 0.9054 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4444, allocations: 3.984 kB / 0.9055 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.4445, allocations: 23.98 kB / 0.9055 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.4445, allocations: 4 kB / 0.9055 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.4446, allocations: 33.64 kB / 0.9055 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.4447, allocations: 36.16 kB / 0.9055 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4447, allocations: 0 / 0.9055 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4447, allocations: 3.938 kB / 0.9055 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.4447, allocations: 0 / 0.9055 GB, free: 2.484 MB / 0.7169 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.0005014/0.4452, allocations: 379.2 kB / 0.9059 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4453, allocations: 8.031 kB / 0.9059 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.4453, allocations: 11.91 kB / 0.9059 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4455, allocations: 171 kB / 0.9061 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4455, allocations: 4 kB / 0.9061 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.4456, allocations: 4 kB / 0.9061 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.4458, allocations: 93.56 kB / 0.9062 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4458, allocations: 0 / 0.9062 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4459, allocations: 0 / 0.9062 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4459, allocations: 3.984 kB / 0.9062 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.4461, allocations: 91.92 kB / 0.9063 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.4465, allocations: 284.8 kB / 0.9066 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.4468, allocations: 66.48 kB / 0.9066 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.447, allocations: 52.91 kB / 0.9067 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.4471, allocations: 93.09 kB / 0.9068 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4472, allocations: 34.56 kB / 0.9068 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4472, allocations: 0 / 0.9068 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.4477, allocations: 161.5 kB / 0.9069 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4478, allocations: 59.3 kB / 0.907 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.4479, allocations: 117.8 kB / 0.9071 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4479, allocations: 29.7 kB / 0.9071 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.4479, allocations: 92.08 kB / 0.9072 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.448, allocations: 11.84 kB / 0.9072 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.448, allocations: 0 / 0.9072 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4481, allocations: 318.8 kB / 0.9075 GB, free: 216 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4482, allocations: 39.97 kB / 0.9076 GB, free: 176 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4484, allocations: 43.95 kB / 0.9076 GB, free: 132 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.4485, allocations: 43.97 kB / 0.9077 GB, free: 88 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4485, allocations: 0 / 0.9077 GB, free: 88 kB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.5193/0.9679, allocations: 117.4 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.9679, allocations: 9 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.968, allocations: 0.5312 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.968, allocations: 1.219 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.9681, allocations: 23.34 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9682, allocations: 3.312 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.9683, allocations: 18.78 kB / 0.9078 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.9683, allocations: 1.234 kB / 0.9078 GB, free: 127.6 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.9684, allocations: 120.1 kB / 0.9079 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.9684, allocations: 3.922 kB / 0.9079 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.9688, allocations: 131.8 kB / 0.9081 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.9688, allocations: 0 / 0.9081 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9689, allocations: 4.828 kB / 0.9081 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9689, allocations: 0.5625 kB / 0.9081 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.9691, allocations: 170.8 kB / 0.9082 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.9691, allocations: 0 / 0.9082 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.9692, allocations: 24.72 kB / 0.9083 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9692, allocations: 3.625 kB / 0.9083 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.9692, allocations: 0.8438 kB / 0.9083 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9692, allocations: 0.5156 kB / 0.9083 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9692, allocations: 0.7812 kB / 0.9083 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.9695, allocations: 224.6 kB / 0.9085 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.9696, allocations: 83.53 kB / 0.9086 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.9696, allocations: 1.312 kB / 0.9086 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.9697, allocations: 20.45 kB / 0.9086 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.9698, allocations: 7.75 kB / 0.9086 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.9698, allocations: 5.5 kB / 0.9086 GB, free: 127 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.9699, allocations: 98.19 kB / 0.9087 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9699, allocations: 0 / 0.9087 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.9701, allocations: 11.88 kB / 0.9087 GB, free: 126.9 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.9703, allocations: 115.6 kB / 0.9088 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.9706, allocations: 93.89 kB / 0.9089 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9706, allocations: 0 / 0.9089 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.9708, allocations: 45.8 kB / 0.9089 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.9711, allocations: 14.31 kB / 0.909 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.9714, allocations: 172.8 kB / 0.9091 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.9716, allocations: 0.6856 MB / 0.9098 GB, free: 126 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.9716, allocations: 7.719 kB / 0.9098 GB, free: 126 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.9716, allocations: 14.88 kB / 0.9098 GB, free: 126 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9717, allocations: 0 / 0.9098 GB, free: 126 MB / 0.7169 GB Notification: Performance of Templates: time 0.003222/0.9749, allocations: 0.8154 MB / 0.9106 GB, free: 125.9 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: