Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.7 MB, free: 8.207 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.0009252/0.0009253, allocations: 167.1 kB / 372.3 MB, free: 10.14 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.425/1.425, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007999/0.0007998, allocations: 94.34 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 12.12 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1899, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001149/0.1911, allocations: 0.9978 MB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4922/0.6833, allocations: 119.6 MB / 1.098 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.6834, allocations: 0 / 1.098 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.6834, allocations: 0.5625 kB / 1.098 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.6835, allocations: 8.188 kB / 1.098 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.6838, allocations: 44.98 kB / 1.098 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.6839, allocations: 20.91 kB / 1.098 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.6839, allocations: 1.953 kB / 1.098 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.684, allocations: 10.58 kB / 1.098 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.6841, allocations: 10 kB / 1.098 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.6841, allocations: 4.656 kB / 1.098 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.6841, allocations: 13.12 kB / 1.098 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.6842, allocations: 9.828 kB / 1.098 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.6843, allocations: 30.86 kB / 1.098 GB, free: 18.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.6844, allocations: 18.97 kB / 1.098 GB, free: 18.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6844, allocations: 0.8125 kB / 1.098 GB, free: 18.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6844, allocations: 0 / 1.098 GB, free: 18.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.6844, allocations: 1.125 kB / 1.098 GB, free: 18.98 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.0003225/0.6847, allocations: 332.3 kB / 1.098 GB, free: 18.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6848, allocations: 13.5 kB / 1.098 GB, free: 18.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.6848, allocations: 7.031 kB / 1.098 GB, free: 18.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.6849, allocations: 165.4 kB / 1.099 GB, free: 18.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.685, allocations: 30.14 kB / 1.099 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.685, allocations: 1.812 kB / 1.099 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6851, allocations: 40.42 kB / 1.099 GB, free: 18.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6851, allocations: 4.75 kB / 1.099 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.6851, allocations: 0 / 1.099 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6851, allocations: 1.344 kB / 1.099 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.6852, allocations: 18.78 kB / 1.099 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.6854, allocations: 156.7 kB / 1.099 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.6855, allocations: 33.55 kB / 1.099 GB, free: 18.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.6855, allocations: 12.03 kB / 1.099 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.6857, allocations: 89.08 kB / 1.099 GB, free: 18.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.6857, allocations: 36.69 kB / 1.099 GB, free: 17.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6857, allocations: 0 / 1.099 GB, free: 17.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002053/0.6859, allocations: 65.89 kB / 1.099 GB, free: 17.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.6859, allocations: 52.47 kB / 1.099 GB, free: 17.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.686, allocations: 95.58 kB / 1.099 GB, free: 17.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.686, allocations: 25.7 kB / 1.099 GB, free: 17.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.6861, allocations: 88.67 kB / 1.099 GB, free: 17.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.6861, allocations: 16.09 kB / 1.099 GB, free: 17.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.6861, allocations: 0 / 1.099 GB, free: 17.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.6862, allocations: 311.8 kB / 1.1 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.6862, allocations: 10.58 kB / 1.1 GB, free: 17.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.6863, allocations: 6.641 kB / 1.1 GB, free: 17.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.6864, allocations: 21.61 kB / 1.1 GB, free: 17.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6864, allocations: 0 / 1.1 GB, free: 17.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/0.6865, allocations: 59.91 kB / 1.1 GB, free: 17.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6865, allocations: 12.34 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6865, allocations: 0.625 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.6865, allocations: 0 / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.6866, allocations: 7.766 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6866, allocations: 1.359 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.6866, allocations: 5.812 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6867, allocations: 0.75 kB / 1.1 GB, free: 17.29 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.438e-05/0.6867, allocations: 110 kB / 1.1 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-06/0.6867, allocations: 10.64 kB / 1.1 GB, free: 17.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.6869, allocations: 56.69 kB / 1.1 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6869, allocations: 4.688 kB / 1.1 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.6869, allocations: 0.625 kB / 1.1 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6869, allocations: 0.5938 kB / 1.1 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.801e-05/0.687, allocations: 154.3 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.687, allocations: 0.6875 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.6871, allocations: 4.844 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6871, allocations: 4.688 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.6871, allocations: 0.9375 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6871, allocations: 9.953 kB / 1.1 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6871, allocations: 1.031 kB / 1.1 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.6872, allocations: 76.73 kB / 1.1 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.6873, allocations: 84.88 kB / 1.1 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.6873, allocations: 4.469 kB / 1.1 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.6873, allocations: 1.281 kB / 1.1 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.6874, allocations: 7.797 kB / 1.1 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.6874, allocations: 2.703 kB / 1.1 GB, free: 16.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.6874, allocations: 87.83 kB / 1.1 GB, free: 16.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.6874, allocations: 0.8438 kB / 1.1 GB, free: 16.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001767/0.6876, allocations: 7.938 kB / 1.1 GB, free: 16.68 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.0001312/0.6877, allocations: 105.7 kB / 1.1 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.6879, allocations: 21.27 kB / 1.1 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6879, allocations: 0 / 1.1 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.6879, allocations: 13.22 kB / 1.1 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.6881, allocations: 11.36 kB / 1.1 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.6884, allocations: 142.8 kB / 1.101 GB, free: 16.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.6886, allocations: 0.6754 MB / 1.101 GB, free: 15.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.6886, allocations: 5.094 kB / 1.101 GB, free: 15.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.6886, allocations: 9.594 kB / 1.101 GB, free: 15.76 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6886, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.698 GB Notification: Performance of Templates: time 0.002221/0.6909, allocations: 485.9 kB / 1.102 GB, free: 15.71 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)