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.001023/0.001023, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.694/1.694, allocations: 292.3 MB / 0.5488 GB, free: 12.81 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.001436/0.001437, allocations: 68.23 kB / 0.6715 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2217, allocations: 114.5 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002243/0.224, allocations: 1.271 MB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5266/0.7506, allocations: 132 MB / 0.9135 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.7507, allocations: 4 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.7508, allocations: 0 / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.7508, allocations: 4.188 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.7512, allocations: 61.56 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.7512, allocations: 16.38 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.7513, allocations: 6.266 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.7513, allocations: 12.02 kB / 0.9136 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.7514, allocations: 6.078 kB / 0.9137 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.7514, allocations: 6.844 kB / 0.9137 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.7515, allocations: 14.41 kB / 0.9137 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.7515, allocations: 5 kB / 0.9137 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.7516, allocations: 10.95 kB / 0.9137 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.7517, allocations: 22.83 kB / 0.9137 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7517, allocations: 0 / 0.9137 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7517, allocations: 0 / 0.9137 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7517, allocations: 1.031 kB / 0.9137 GB, free: 5.949 MB / 0.7169 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.0005788/0.7523, allocations: 332.1 kB / 0.914 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7523, allocations: 10.83 kB / 0.914 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.7524, allocations: 6.875 kB / 0.914 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.7525, allocations: 169.2 kB / 0.9142 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.7525, allocations: 34.89 kB / 0.9142 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.7526, allocations: 1.406 kB / 0.9142 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.7527, allocations: 36.41 kB / 0.9143 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.7527, allocations: 4.844 kB / 0.9143 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.7527, allocations: 1.219 kB / 0.9143 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7527, allocations: 1.422 kB / 0.9143 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.7528, allocations: 14.55 kB / 0.9143 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.753, allocations: 156.2 kB / 0.9144 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.25e-05/0.7531, allocations: 33.83 kB / 0.9145 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.7531, allocations: 12.72 kB / 0.9145 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.7533, allocations: 88.2 kB / 0.9146 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.7533, allocations: 41.22 kB / 0.9146 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7533, allocations: 4.906 kB / 0.9146 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002284/0.7535, allocations: 59.91 kB / 0.9147 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.7536, allocations: 52.88 kB / 0.9147 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.7537, allocations: 101.8 kB / 0.9148 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.7537, allocations: 25.7 kB / 0.9148 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.7537, allocations: 84.98 kB / 0.9149 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.7537, allocations: 14.27 kB / 0.9149 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.7538, allocations: 21.16 kB / 0.915 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.7539, allocations: 312.9 kB / 0.9153 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.7539, allocations: 6.625 kB / 0.9153 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.754, allocations: 7.047 kB / 0.9153 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.7541, allocations: 25.72 kB / 0.9153 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7541, allocations: 0.5625 kB / 0.9153 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/0.7542, allocations: 48.59 kB / 0.9153 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7542, allocations: 9.969 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7542, allocations: 4 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7542, allocations: 1.641 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.7543, allocations: 5.734 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7543, allocations: 1.594 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.7544, allocations: 5.359 kB / 0.9154 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.7544, allocations: 0.9688 kB / 0.9154 GB, free: 20.26 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 6.057e-05/0.7544, allocations: 112.5 kB / 0.9155 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.7545, allocations: 6.391 kB / 0.9155 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.7546, allocations: 61.19 kB / 0.9155 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7546, allocations: 0.9375 kB / 0.9155 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7546, allocations: 0 / 0.9155 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7547, allocations: 3.672 kB / 0.9155 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.923e-05/0.7547, allocations: 152.9 kB / 0.9157 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7547, allocations: 0 / 0.9157 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.7548, allocations: 9.984 kB / 0.9157 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7548, allocations: 3.938 kB / 0.9157 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7548, allocations: 2.719 kB / 0.9157 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7548, allocations: 0 / 0.9157 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7548, allocations: 5.422 kB / 0.9157 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.755, allocations: 76.53 kB / 0.9158 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.755, allocations: 80.55 kB / 0.9159 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.755, allocations: 5.344 kB / 0.9159 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.7551, allocations: 5.281 kB / 0.9159 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.7551, allocations: 2.922 kB / 0.9159 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-06/0.7551, allocations: 9.672 kB / 0.9159 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.7552, allocations: 82 kB / 0.916 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.42e-07/0.7552, allocations: 0 / 0.916 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002001/0.7554, allocations: 9.672 kB / 0.916 GB, free: 19.65 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.0001462/0.7555, allocations: 114.9 kB / 0.9161 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.7557, allocations: 17.09 kB / 0.9161 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7557, allocations: 1.031 kB / 0.9161 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.7557, allocations: 20.58 kB / 0.9161 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.756, allocations: 11.03 kB / 0.9161 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.7563, allocations: 128.3 kB / 0.9163 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.7565, allocations: 0.6753 MB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.7565, allocations: 6.328 kB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.7565, allocations: 10.34 kB / 0.9169 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7565, allocations: 0.9375 kB / 0.9169 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.002669/0.7592, allocations: 0.5167 MB / 0.9174 GB, free: 18.68 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)