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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.00106/0.00106, allocations: 198.2 kB / 376.9 MB, free: 1.848 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.295/1.295, allocations: 205.1 MB / 0.6354 GB, free: 9.801 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.0009927/0.0009923, allocations: 90.66 kB / 0.748 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009689/0.0009689, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2375, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002368/0.2399, allocations: 1.338 MB / 0.9835 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.644/0.884, allocations: 129.9 MB / 1.11 GB, free: 22.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.8841, allocations: 0 / 1.11 GB, free: 22.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.8842, allocations: 0 / 1.11 GB, free: 22.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.8842, allocations: 10.47 kB / 1.11 GB, free: 22.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.8847, allocations: 52.97 kB / 1.11 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.8848, allocations: 21.12 kB / 1.11 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.8848, allocations: 10.56 kB / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.8849, allocations: 2.938 kB / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.885, allocations: 13.17 kB / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.885, allocations: 0 / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.8851, allocations: 10.03 kB / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.8851, allocations: 6.828 kB / 1.11 GB, free: 22.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.8851, allocations: 11.28 kB / 1.11 GB, free: 22.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.8852, allocations: 25.53 kB / 1.111 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8853, allocations: 0 / 1.111 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8853, allocations: 0 / 1.111 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8853, allocations: 0 / 1.111 GB, free: 22.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004348/0.8857, allocations: 341.3 kB / 1.111 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8858, allocations: 11.72 kB / 1.111 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.8858, allocations: 0.9375 kB / 1.111 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.8859, allocations: 167.5 kB / 1.111 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.886, allocations: 34.25 kB / 1.111 GB, free: 22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.886, allocations: 3.531 kB / 1.111 GB, free: 22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.8861, allocations: 39.11 kB / 1.111 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8862, allocations: 3.938 kB / 1.111 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.8862, allocations: 7.938 kB / 1.111 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8862, allocations: 0 / 1.111 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.8863, allocations: 16.75 kB / 1.111 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.8864, allocations: 152.1 kB / 1.111 GB, free: 21.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.824e-05/0.8865, allocations: 35.05 kB / 1.111 GB, free: 21.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.8866, allocations: 8.047 kB / 1.111 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.8867, allocations: 93.42 kB / 1.111 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.8868, allocations: 37.5 kB / 1.111 GB, free: 21.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8868, allocations: 0 / 1.111 GB, free: 21.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002228/0.887, allocations: 55.94 kB / 1.111 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.887, allocations: 54.5 kB / 1.112 GB, free: 21.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.8871, allocations: 96.38 kB / 1.112 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.8871, allocations: 33.7 kB / 1.112 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/0.8871, allocations: 84.64 kB / 1.112 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.8872, allocations: 15.56 kB / 1.112 GB, free: 21.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.8872, allocations: 16.38 kB / 1.112 GB, free: 21.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.8873, allocations: 314.8 kB / 1.112 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.8873, allocations: 3.594 kB / 1.112 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.8874, allocations: 9.406 kB / 1.112 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.8875, allocations: 26.33 kB / 1.112 GB, free: 20.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8875, allocations: 0 / 1.112 GB, free: 20.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.8876, allocations: 50.83 kB / 1.112 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8876, allocations: 9.031 kB / 1.112 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8876, allocations: 0.5156 kB / 1.112 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8876, allocations: 0 / 1.112 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.8877, allocations: 9.188 kB / 1.112 GB, free: 20.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8877, allocations: 0.5625 kB / 1.112 GB, free: 20.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.8877, allocations: 7.453 kB / 1.112 GB, free: 20.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8878, allocations: 4 kB / 1.112 GB, free: 20.85 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.478e-05/0.8878, allocations: 109.8 kB / 1.112 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.8878, allocations: 7.031 kB / 1.112 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.888, allocations: 55.31 kB / 1.112 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.888, allocations: 3.531 kB / 1.112 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.888, allocations: 0 / 1.112 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.888, allocations: 0 / 1.112 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.471e-05/0.8881, allocations: 156 kB / 1.113 GB, free: 20.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8881, allocations: 3.938 kB / 1.113 GB, free: 20.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.8882, allocations: 14.28 kB / 1.113 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8882, allocations: 4.688 kB / 1.113 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8882, allocations: 0.875 kB / 1.113 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8882, allocations: 0 / 1.113 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8882, allocations: 0 / 1.113 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.8885, allocations: 0.634 MB / 1.113 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.8886, allocations: 83.64 kB / 1.113 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.8886, allocations: 0 / 1.113 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.714e-05/0.8886, allocations: 3.125 kB / 1.113 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.8886, allocations: 8.938 kB / 1.113 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8887, allocations: 0 / 1.113 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.345e-05/0.8887, allocations: 78.09 kB / 1.113 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8887, allocations: 0 / 1.113 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002753/0.889, allocations: 9.906 kB / 1.113 GB, free: 19.64 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.000144/0.8891, allocations: 119.2 kB / 1.113 GB, free: 19.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.8893, allocations: 26.8 kB / 1.113 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8893, allocations: 0 / 1.113 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.8893, allocations: 9.906 kB / 1.113 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.8896, allocations: 13.86 kB / 1.113 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.89, allocations: 242.8 kB / 1.114 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.8901, allocations: 0.6752 MB / 1.114 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.8902, allocations: 3.188 kB / 1.114 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.8902, allocations: 11.44 kB / 1.114 GB, free: 18.6 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.8902, allocations: 1.031 kB / 1.114 GB, free: 18.6 MB / 0.7448 GB Notification: Performance of Templates: time 0.002559/0.8928, allocations: 499.2 kB / 1.115 GB, free: 18.55 MB / 0.7448 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)