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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 292.3 MB / 308.1 MB, free: 4.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.001221/0.001221, allocations: 190.4 kB / 376.9 MB, free: 1.77 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.373/1.373, allocations: 205 MB / 0.6354 GB, free: 9.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 100.3 kB / 0.748 GB, free: 61.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.83 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003148/0.2558, allocations: 1.553 MB / 0.9837 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6201/0.8759, allocations: 129.9 MB / 1.111 GB, free: 22.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.876, allocations: 0 / 1.111 GB, free: 22.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.8761, allocations: 0 / 1.111 GB, free: 22.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.8762, allocations: 14.41 kB / 1.111 GB, free: 22.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.8766, allocations: 55.64 kB / 1.111 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.972e-05/0.8767, allocations: 58.64 kB / 1.111 GB, free: 22.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.8768, allocations: 17.34 kB / 1.111 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.8769, allocations: 17.25 kB / 1.111 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.8769, allocations: 23.28 kB / 1.111 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.877, allocations: 3 kB / 1.111 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.8771, allocations: 13 kB / 1.111 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.8771, allocations: 15.34 kB / 1.111 GB, free: 22.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.8771, allocations: 21.36 kB / 1.111 GB, free: 22.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.8773, allocations: 54.36 kB / 1.111 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8773, allocations: 0 / 1.111 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8773, allocations: 0 / 1.111 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.8773, allocations: 0 / 1.111 GB, free: 22.25 MB / 0.7448 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.0005377/0.8779, allocations: 377.9 kB / 1.111 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8779, allocations: 9.375 kB / 1.111 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.878, allocations: 3.969 kB / 1.111 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.8781, allocations: 176 kB / 1.111 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.8781, allocations: 4.375 kB / 1.111 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.8781, allocations: 3.375 kB / 1.111 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.8784, allocations: 82.19 kB / 1.112 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8784, allocations: 192 / 1.112 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.8785, allocations: 6.938 kB / 1.112 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8785, allocations: 0 / 1.112 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.8788, allocations: 69.67 kB / 1.112 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.8792, allocations: 286.5 kB / 1.112 GB, free: 21.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.8794, allocations: 53.38 kB / 1.112 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.8796, allocations: 38.06 kB / 1.112 GB, free: 21.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.8798, allocations: 93.3 kB / 1.112 GB, free: 21.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.8798, allocations: 33.75 kB / 1.112 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.8798, allocations: 0 / 1.112 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005938/0.8804, allocations: 134.8 kB / 1.112 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.8804, allocations: 55.41 kB / 1.112 GB, free: 21.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.8805, allocations: 117.5 kB / 1.112 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.8806, allocations: 25.7 kB / 1.112 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.8806, allocations: 91.14 kB / 1.112 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.8806, allocations: 11.16 kB / 1.112 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.8807, allocations: 12.81 kB / 1.113 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.8807, allocations: 322.2 kB / 1.113 GB, free: 20.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.8809, allocations: 37.28 kB / 1.113 GB, free: 20.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.8811, allocations: 31.81 kB / 1.113 GB, free: 20.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.8814, allocations: 72.02 kB / 1.113 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8814, allocations: 0 / 1.113 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003475/0.8817, allocations: 102 kB / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8818, allocations: 8.25 kB / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8818, allocations: 0.8438 kB / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8818, allocations: 0 / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8819, allocations: 12.67 kB / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.882, allocations: 7.281 kB / 1.113 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.882, allocations: 22.05 kB / 1.113 GB, free: 20.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.8821, allocations: 0 / 1.113 GB, free: 20.36 MB / 0.7448 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 5.61e-05/0.8821, allocations: 120.9 kB / 1.113 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.8822, allocations: 3.188 kB / 1.113 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.8825, allocations: 108.3 kB / 1.113 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.8826, allocations: 4.938 kB / 1.113 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8826, allocations: 3.719 kB / 1.113 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8826, allocations: 0 / 1.113 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.8827, allocations: 173.5 kB / 1.113 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8827, allocations: 3.719 kB / 1.113 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.8828, allocations: 13.05 kB / 1.114 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8829, allocations: 0 / 1.114 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8829, allocations: 0 / 1.114 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8829, allocations: 0.625 kB / 1.114 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8829, allocations: 3.062 kB / 1.114 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.8835, allocations: 0.7899 MB / 1.114 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.8836, allocations: 85.02 kB / 1.114 GB, free: 19.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.8836, allocations: 6.516 kB / 1.114 GB, free: 19.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.8837, allocations: 10.2 kB / 1.114 GB, free: 19.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.8838, allocations: 7.172 kB / 1.114 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.8838, allocations: 3 kB / 1.114 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.8839, allocations: 95.52 kB / 1.114 GB, free: 19.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8839, allocations: 1.031 kB / 1.114 GB, free: 19.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003805/0.8843, allocations: 15.56 kB / 1.114 GB, free: 19.04 MB / 0.7448 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.000141/0.8844, allocations: 115.8 kB / 1.115 GB, free: 18.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.8848, allocations: 66.62 kB / 1.115 GB, free: 18.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8848, allocations: 0 / 1.115 GB, free: 18.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.885, allocations: 36.64 kB / 1.115 GB, free: 18.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.8853, allocations: 19.31 kB / 1.115 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.8857, allocations: 270.1 kB / 1.115 GB, free: 18.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.8858, allocations: 0.6904 MB / 1.116 GB, free: 17.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.8859, allocations: 4.094 kB / 1.116 GB, free: 17.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.8859, allocations: 14.41 kB / 1.116 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.8859, allocations: 0 / 1.116 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.003104/0.889, allocations: 0.8589 MB / 1.117 GB, free: 17.9 MB / 0.7448 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)