Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 287.5 MB / 302.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 185.2 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000842/0.000842, allocations: 99.86 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 12.09 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001319/0.2115, allocations: 1.001 MB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6555/0.867, allocations: 119.6 MB / 1.096 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.8671, allocations: 0 / 1.096 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.8671, allocations: 0.6094 kB / 1.096 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.8672, allocations: 11.41 kB / 1.096 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.8675, allocations: 43.25 kB / 1.096 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.8676, allocations: 22.86 kB / 1.097 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.8677, allocations: 2.375 kB / 1.097 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.8677, allocations: 12.94 kB / 1.097 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.8678, allocations: 9.234 kB / 1.097 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.8678, allocations: 1.188 kB / 1.097 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.8679, allocations: 12.81 kB / 1.097 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.8679, allocations: 2.125 kB / 1.097 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.8681, allocations: 28.95 kB / 1.097 GB, free: 18.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.8682, allocations: 23.78 kB / 1.097 GB, free: 18.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8682, allocations: 0 / 1.097 GB, free: 18.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8682, allocations: 0 / 1.097 GB, free: 18.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8682, allocations: 0 / 1.097 GB, free: 18.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004296/0.8686, allocations: 332.4 kB / 1.097 GB, free: 17.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8687, allocations: 9.125 kB / 1.097 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.8687, allocations: 8.141 kB / 1.097 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.8689, allocations: 170.1 kB / 1.097 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.869, allocations: 33.2 kB / 1.097 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.869, allocations: 5.875 kB / 1.097 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8691, allocations: 41.25 kB / 1.097 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8691, allocations: 3.938 kB / 1.097 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.8691, allocations: 1.406 kB / 1.097 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8692, allocations: 0 / 1.097 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.193e-05/0.8692, allocations: 9.688 kB / 1.097 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.8694, allocations: 152.8 kB / 1.097 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.8695, allocations: 39.27 kB / 1.097 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.8696, allocations: 19.34 kB / 1.097 GB, free: 17.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.8698, allocations: 87.22 kB / 1.097 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.8698, allocations: 34.28 kB / 1.098 GB, free: 17.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.8698, allocations: 1.859 kB / 1.098 GB, free: 17.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002437/0.87, allocations: 59.58 kB / 1.098 GB, free: 17.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.8701, allocations: 59.56 kB / 1.098 GB, free: 17.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.8702, allocations: 98.08 kB / 1.098 GB, free: 17.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.8702, allocations: 25.7 kB / 1.098 GB, free: 17.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.8702, allocations: 87.25 kB / 1.098 GB, free: 16.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.8703, allocations: 9.031 kB / 1.098 GB, free: 16.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.8703, allocations: 0 / 1.098 GB, free: 16.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.8704, allocations: 311.9 kB / 1.098 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.8704, allocations: 13.59 kB / 1.098 GB, free: 16.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.8705, allocations: 6.812 kB / 1.098 GB, free: 16.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.8706, allocations: 20.34 kB / 1.098 GB, free: 16.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8706, allocations: 0 / 1.098 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/0.8707, allocations: 52.48 kB / 1.098 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8707, allocations: 14.47 kB / 1.098 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8707, allocations: 4.453 kB / 1.098 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8707, allocations: 0 / 1.098 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.8708, allocations: 10.91 kB / 1.098 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8708, allocations: 0.75 kB / 1.098 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.8709, allocations: 7.469 kB / 1.098 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8709, allocations: 1 kB / 1.098 GB, free: 16.61 MB / 0.698 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 6.862e-05/0.8709, allocations: 111.3 kB / 1.098 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.871, allocations: 4.75 kB / 1.098 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.8711, allocations: 60.59 kB / 1.098 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8711, allocations: 0.9688 kB / 1.098 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8711, allocations: 4 kB / 1.098 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8711, allocations: 2.922 kB / 1.098 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.8712, allocations: 150.8 kB / 1.099 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8712, allocations: 0 / 1.099 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.8713, allocations: 11.58 kB / 1.099 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8713, allocations: 4.688 kB / 1.099 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.8713, allocations: 0 / 1.099 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8713, allocations: 0.6875 kB / 1.099 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8713, allocations: 2.469 kB / 1.099 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.8715, allocations: 77.23 kB / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.8715, allocations: 81.86 kB / 1.099 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.8715, allocations: 7.141 kB / 1.099 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.8716, allocations: 3.594 kB / 1.099 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.8716, allocations: 4.922 kB / 1.099 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8716, allocations: 0.9688 kB / 1.099 GB, free: 16.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.8717, allocations: 77.12 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8717, allocations: 0 / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001855/0.8719, allocations: 16.28 kB / 1.099 GB, free: 16 MB / 0.698 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.0001578/0.872, allocations: 108.7 kB / 1.099 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.8722, allocations: 20.27 kB / 1.099 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8722, allocations: 0.8438 kB / 1.099 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.8722, allocations: 8.891 kB / 1.099 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.8725, allocations: 13.3 kB / 1.099 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.8728, allocations: 147.8 kB / 1.099 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8731, allocations: 0.6755 MB / 1.1 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.8731, allocations: 10.42 kB / 1.1 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.8731, allocations: 10.31 kB / 1.1 GB, free: 15.07 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.8731, allocations: 0 / 1.1 GB, free: 15.07 MB / 0.698 GB Notification: Performance of Templates: time 0.002435/0.8756, allocations: 478.9 kB / 1.1 GB, free: 15.02 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)