Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001054/0.001054, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.409/1.409, allocations: 205.1 MB / 222.8 MB, free: 4.648 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.673/1.673, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001418/0.001419, allocations: 66.08 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002299/0.2339, allocations: 1.336 MB / 0.7848 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.3637, allocations: 130.1 MB / 0.9118 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.3637, allocations: 0 / 0.9118 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.3638, allocations: 0 / 0.9118 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3639, allocations: 15.92 kB / 0.9118 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.3643, allocations: 55.8 kB / 0.9119 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.3643, allocations: 11.94 kB / 0.9119 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.3644, allocations: 7.984 kB / 0.9119 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.3644, allocations: 19.86 kB / 0.9119 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.3645, allocations: 4 kB / 0.9119 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3645, allocations: 0 / 0.9119 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.3646, allocations: 15.98 kB / 0.9119 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3646, allocations: 0 / 0.9119 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.3646, allocations: 11.94 kB / 0.912 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.005e-05/0.3647, allocations: 24.2 kB / 0.912 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3647, allocations: 0 / 0.912 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3647, allocations: 0 / 0.912 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3648, allocations: 0 / 0.912 GB, free: 9.844 MB / 0.7325 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.000427/0.3652, allocations: 331.5 kB / 0.9123 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3652, allocations: 8.031 kB / 0.9123 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3653, allocations: 4.938 kB / 0.9123 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3654, allocations: 168.3 kB / 0.9125 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.3655, allocations: 34.27 kB / 0.9125 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3655, allocations: 384 / 0.9125 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3656, allocations: 50.17 kB / 0.9126 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3656, allocations: 3.938 kB / 0.9126 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3656, allocations: 0 / 0.9126 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3656, allocations: 0 / 0.9126 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.3657, allocations: 15.92 kB / 0.9126 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3659, allocations: 153.7 kB / 0.9127 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.366, allocations: 34.56 kB / 0.9128 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.366, allocations: 12.86 kB / 0.9128 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.3662, allocations: 89.19 kB / 0.9128 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3663, allocations: 42.44 kB / 0.9129 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3663, allocations: 0 / 0.9129 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002284/0.3665, allocations: 61.61 kB / 0.9129 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3665, allocations: 51.41 kB / 0.913 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.3666, allocations: 97.86 kB / 0.9131 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3666, allocations: 25.7 kB / 0.9131 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.3667, allocations: 92.12 kB / 0.9132 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.3667, allocations: 11.8 kB / 0.9132 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.3668, allocations: 17.72 kB / 0.9132 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3669, allocations: 314.8 kB / 0.9135 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.367, allocations: 4 kB / 0.9135 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.367, allocations: 11.92 kB / 0.9135 GB, free: 8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.3671, allocations: 24.84 kB / 0.9136 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3671, allocations: 0 / 0.9136 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001128/0.3672, allocations: 45.69 kB / 0.9136 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3672, allocations: 7.938 kB / 0.9136 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3673, allocations: 4 kB / 0.9136 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3673, allocations: 4 kB / 0.9136 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.641e-05/0.3673, allocations: 7.984 kB / 0.9136 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3674, allocations: 0 / 0.9136 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.3674, allocations: 4 kB / 0.9136 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3674, allocations: 4 kB / 0.9136 GB, free: 7.891 MB / 0.7325 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.46e-05/0.3675, allocations: 109.8 kB / 0.9137 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.3675, allocations: 3.938 kB / 0.9138 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3677, allocations: 61.69 kB / 0.9138 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3677, allocations: 4 kB / 0.9138 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3677, allocations: 4 kB / 0.9138 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3677, allocations: 4.031 kB / 0.9138 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.3678, allocations: 153.6 kB / 0.914 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3678, allocations: 0 / 0.914 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.3678, allocations: 12 kB / 0.914 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3679, allocations: 7.875 kB / 0.914 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3679, allocations: 0 / 0.914 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3679, allocations: 0 / 0.914 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3679, allocations: 3.984 kB / 0.914 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.368, allocations: 77.06 kB / 0.9141 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3681, allocations: 81.05 kB / 0.9141 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3681, allocations: 7.922 kB / 0.9142 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.3681, allocations: 4 kB / 0.9142 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3682, allocations: 4 kB / 0.9142 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.3682, allocations: 0 / 0.9142 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.3682, allocations: 79.28 kB / 0.9142 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 7.938 kB / 0.9142 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001908/0.3684, allocations: 11.98 kB / 0.9143 GB, free: 7.156 MB / 0.7325 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.0001468/0.3686, allocations: 107.2 kB / 0.9144 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3687, allocations: 27.91 kB / 0.9144 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3687, allocations: 0 / 0.9144 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.3688, allocations: 12 kB / 0.9144 GB, free: 7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3691, allocations: 14.8 kB / 0.9144 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.3693, allocations: 153.4 kB / 0.9146 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3696, allocations: 0.6767 MB / 0.9152 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3696, allocations: 11.44 kB / 0.9152 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3696, allocations: 0 / 0.9152 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.001735/0.3714, allocations: 0.574 MB / 0.9158 GB, free: 5.52 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)