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.001092/0.001092, allocations: 109.4 kB / 15.69 MB, free: 128 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.001193/0.001193, allocations: 190.1 kB / 16.62 MB, free: 6.613 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.301/1.301, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.724/1.724, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001428/0.001428, allocations: 72.3 kB / 0.6722 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2053, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002211/0.2076, allocations: 1.277 MB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5522/0.7598, allocations: 132 MB / 0.9143 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.7599, allocations: 0.875 kB / 0.9143 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.76, allocations: 6.156 kB / 0.9143 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.7601, allocations: 3.031 kB / 0.9143 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.7606, allocations: 53.62 kB / 0.9143 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.7607, allocations: 24.3 kB / 0.9144 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.7608, allocations: 8.922 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.7609, allocations: 8.797 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.761, allocations: 14.62 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.761, allocations: 1 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.7611, allocations: 15.58 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.7611, allocations: 1.656 kB / 0.9144 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.7612, allocations: 10.42 kB / 0.9144 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.7613, allocations: 31.2 kB / 0.9145 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7613, allocations: 1.953 kB / 0.9145 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7613, allocations: 0 / 0.9145 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7613, allocations: 0 / 0.9145 GB, free: 5.793 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.0007945/0.7621, allocations: 329.9 kB / 0.9148 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7622, allocations: 9.281 kB / 0.9148 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.7623, allocations: 6.688 kB / 0.9148 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7624, allocations: 163.4 kB / 0.9149 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.7625, allocations: 34.94 kB / 0.915 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.7626, allocations: 7.406 kB / 0.915 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.7628, allocations: 36.66 kB / 0.915 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.7628, allocations: 5.141 kB / 0.915 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7628, allocations: 3.875 kB / 0.915 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.7628, allocations: 0.9375 kB / 0.915 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.7629, allocations: 15.53 kB / 0.915 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.7632, allocations: 157.2 kB / 0.9152 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7633, allocations: 29.62 kB / 0.9152 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.7634, allocations: 16.17 kB / 0.9152 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.7636, allocations: 88.48 kB / 0.9153 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.7637, allocations: 34.36 kB / 0.9154 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.7637, allocations: 0 / 0.9154 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003332/0.764, allocations: 61.81 kB / 0.9154 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.7641, allocations: 63.11 kB / 0.9155 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.7642, allocations: 95.14 kB / 0.9156 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.7642, allocations: 29.45 kB / 0.9156 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.7643, allocations: 80.14 kB / 0.9157 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.7643, allocations: 14.78 kB / 0.9157 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.7644, allocations: 16.67 kB / 0.9157 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7646, allocations: 317.1 kB / 0.916 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.7647, allocations: 5.688 kB / 0.916 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.7647, allocations: 10.27 kB / 0.916 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.7649, allocations: 24.59 kB / 0.916 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7649, allocations: 0 / 0.916 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000193/0.7651, allocations: 49.14 kB / 0.9161 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7651, allocations: 10.12 kB / 0.9161 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.7651, allocations: 0.5156 kB / 0.9161 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7652, allocations: 4.969 kB / 0.9161 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.7653, allocations: 6.531 kB / 0.9161 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7653, allocations: 1.969 kB / 0.9161 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.7654, allocations: 1.453 kB / 0.9161 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.7654, allocations: 1.531 kB / 0.9161 GB, free: 20.11 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 9.605e-05/0.7655, allocations: 115.9 kB / 0.9162 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.7655, allocations: 5.422 kB / 0.9162 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.7658, allocations: 62.56 kB / 0.9163 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7658, allocations: 0.875 kB / 0.9163 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.7658, allocations: 1.812 kB / 0.9163 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7658, allocations: 0 / 0.9163 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.7659, allocations: 155 kB / 0.9164 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7659, allocations: 1.016 kB / 0.9164 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.766, allocations: 9.922 kB / 0.9165 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.766, allocations: 4.906 kB / 0.9165 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.766, allocations: 0 / 0.9165 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.7661, allocations: 3.844 kB / 0.9165 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7661, allocations: 0 / 0.9165 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.7663, allocations: 83.02 kB / 0.9165 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7664, allocations: 80.56 kB / 0.9166 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.7664, allocations: 5.469 kB / 0.9166 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.7665, allocations: 2.125 kB / 0.9166 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.7665, allocations: 2.891 kB / 0.9166 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.7666, allocations: 0.7812 kB / 0.9166 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.7666, allocations: 86.89 kB / 0.9167 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7666, allocations: 3.094 kB / 0.9167 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003369/0.767, allocations: 9.547 kB / 0.9167 GB, free: 19.51 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.0002182/0.7672, allocations: 111.6 kB / 0.9168 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.7674, allocations: 25.09 kB / 0.9169 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7674, allocations: 0 / 0.9169 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.7675, allocations: 12.69 kB / 0.9169 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.7679, allocations: 14.16 kB / 0.9169 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.7682, allocations: 126.8 kB / 0.917 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.7686, allocations: 0.6758 MB / 0.9177 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.302e-05/0.7686, allocations: 6.016 kB / 0.9177 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.7687, allocations: 10.22 kB / 0.9177 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7687, allocations: 1.203 kB / 0.9177 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.004082/0.7728, allocations: 0.5119 MB / 0.9182 GB, free: 18.55 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)