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.00129/0.00129, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001132/0.001133, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.605/1.605, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001319/0.001319, allocations: 67.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2059, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002703/0.2087, allocations: 1.489 MB / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4516/0.6603, allocations: 132.1 MB / 0.9145 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.6604, allocations: 4 kB / 0.9145 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.6604, allocations: 3.938 kB / 0.9145 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.6605, allocations: 9.391 kB / 0.9145 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.6609, allocations: 74.64 kB / 0.9146 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.661, allocations: 53.2 kB / 0.9146 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.6611, allocations: 10.72 kB / 0.9146 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.6611, allocations: 24.25 kB / 0.9147 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.6612, allocations: 31.56 kB / 0.9147 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.6612, allocations: 3.125 kB / 0.9147 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 7.863e-05/0.6613, allocations: 14.91 kB / 0.9147 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.6613, allocations: 13.45 kB / 0.9147 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.6613, allocations: 26.08 kB / 0.9147 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.6615, allocations: 61.53 kB / 0.9148 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6615, allocations: 3.984 kB / 0.9148 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6615, allocations: 0 / 0.9148 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6615, allocations: 1.344 kB / 0.9148 GB, free: 1.609 MB / 0.7012 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.0004721/0.662, allocations: 366.1 kB / 0.9152 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.662, allocations: 9.062 kB / 0.9152 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.6621, allocations: 8.469 kB / 0.9152 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.6622, allocations: 174.3 kB / 0.9153 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.6622, allocations: 3.281 kB / 0.9153 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.6622, allocations: 2.75 kB / 0.9153 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.6624, allocations: 74.25 kB / 0.9154 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6625, allocations: 4.188 kB / 0.9154 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6625, allocations: 3.938 kB / 0.9154 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6625, allocations: 1.156 kB / 0.9154 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.6627, allocations: 70.05 kB / 0.9155 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.6631, allocations: 283.7 kB / 0.9158 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.6633, allocations: 64.62 kB / 0.9158 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.6634, allocations: 35.58 kB / 0.9159 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.6636, allocations: 94.27 kB / 0.9159 GB, free: 460 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.6636, allocations: 34.56 kB / 0.916 GB, free: 416 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.6636, allocations: 1.219 kB / 0.916 GB, free: 416 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.000459/0.6641, allocations: 131 kB / 0.9161 GB, free: 336 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6641, allocations: 51.41 kB / 0.9162 GB, free: 272 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.6642, allocations: 124.7 kB / 0.9163 GB, free: 152 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.6642, allocations: 29.64 kB / 0.9163 GB, free: 116 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.6643, allocations: 94.28 kB / 0.9164 GB, free: 20 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.6643, allocations: 9.5 kB / 0.9164 GB, free: 12 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.6643, allocations: 12.53 kB / 0.9164 GB, free: 16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.6644, allocations: 326.1 kB / 0.9167 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.6646, allocations: 30.06 kB / 0.9168 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.6647, allocations: 33.59 kB / 0.9168 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.6649, allocations: 67.69 kB / 0.9169 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6649, allocations: 0 / 0.9169 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000273/0.6652, allocations: 106.3 kB / 0.917 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6652, allocations: 6.656 kB / 0.917 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6652, allocations: 0 / 0.917 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.6653, allocations: 1.312 kB / 0.917 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.6654, allocations: 18.61 kB / 0.917 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.6654, allocations: 1.406 kB / 0.917 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.6655, allocations: 14.73 kB / 0.917 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6655, allocations: 1.156 kB / 0.917 GB, free: 15.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.6656, allocations: 120.3 kB / 0.9171 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.6656, allocations: 6.484 kB / 0.9171 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.6659, allocations: 108.9 kB / 0.9172 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.6659, allocations: 1.406 kB / 0.9172 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6659, allocations: 1.562 kB / 0.9172 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6659, allocations: 4 kB / 0.9172 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.6661, allocations: 171.4 kB / 0.9174 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6661, allocations: 7.922 kB / 0.9174 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.6662, allocations: 19.27 kB / 0.9174 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6662, allocations: 0 / 0.9174 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6662, allocations: 1.719 kB / 0.9174 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6662, allocations: 0 / 0.9174 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6662, allocations: 0 / 0.9174 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.6665, allocations: 200.8 kB / 0.9176 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.6666, allocations: 83.3 kB / 0.9177 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.6666, allocations: 1.859 kB / 0.9177 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.6667, allocations: 12.86 kB / 0.9177 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.6667, allocations: 6.141 kB / 0.9177 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.6667, allocations: 4.938 kB / 0.9177 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.6668, allocations: 93.52 kB / 0.9178 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6668, allocations: 0 / 0.9178 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002231/0.667, allocations: 16.64 kB / 0.9178 GB, free: 14.73 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 (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.0001295/0.6672, allocations: 101.8 kB / 0.9179 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.6675, allocations: 78.23 kB / 0.918 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6675, allocations: 5.031 kB / 0.918 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6676, allocations: 32.09 kB / 0.918 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.6679, allocations: 17.3 kB / 0.918 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.6682, allocations: 150.7 kB / 0.9182 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.6684, allocations: 0.6895 MB / 0.9189 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.6685, allocations: 5.328 kB / 0.9189 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.6685, allocations: 9.719 kB / 0.9189 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6685, allocations: 1.688 kB / 0.9189 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.002918/0.6714, allocations: 0.993 MB / 0.9198 GB, free: 13.27 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)