Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 100.7 kB / 16.27 MB, free: 6.418 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.001503/0.001503, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.792/1.792, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001631/0.001631, allocations: 75.89 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003133/0.2562, allocations: 1.491 MB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5049/0.7611, allocations: 132.1 MB / 0.9145 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.7612, allocations: 4 kB / 0.9145 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.7613, allocations: 5.531 kB / 0.9145 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.7614, allocations: 5.469 kB / 0.9145 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.7619, allocations: 73.23 kB / 0.9145 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.762, allocations: 58.3 kB / 0.9146 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.7621, allocations: 10.09 kB / 0.9146 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.7622, allocations: 28.11 kB / 0.9146 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.7622, allocations: 26.72 kB / 0.9147 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.7623, allocations: 5.406 kB / 0.9147 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.7624, allocations: 14.81 kB / 0.9147 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.7624, allocations: 11.98 kB / 0.9147 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.7625, allocations: 19 kB / 0.9147 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.7626, allocations: 63.95 kB / 0.9148 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7626, allocations: 1.25 kB / 0.9148 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7626, allocations: 0 / 0.9148 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7627, allocations: 0 / 0.9148 GB, free: 1.715 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005793/0.7632, allocations: 378.9 kB / 0.9151 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7633, allocations: 9.75 kB / 0.9151 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.7633, allocations: 3.75 kB / 0.9151 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.7635, allocations: 170.5 kB / 0.9153 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7635, allocations: 1.938 kB / 0.9153 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.7635, allocations: 3.219 kB / 0.9153 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.7638, allocations: 76.77 kB / 0.9154 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7638, allocations: 9.031 kB / 0.9154 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7638, allocations: 3.938 kB / 0.9154 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7638, allocations: 1.188 kB / 0.9154 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.7641, allocations: 66.08 kB / 0.9155 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.7646, allocations: 291.8 kB / 0.9157 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.7648, allocations: 52.77 kB / 0.9158 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.765, allocations: 39.62 kB / 0.9158 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.7651, allocations: 94 kB / 0.9159 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.7652, allocations: 35.72 kB / 0.9159 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7652, allocations: 0 / 0.9159 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0005488/0.7657, allocations: 134.9 kB / 0.9161 GB, free: 432 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7658, allocations: 54.09 kB / 0.9161 GB, free: 368 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7659, allocations: 119.5 kB / 0.9162 GB, free: 252 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.7659, allocations: 25.7 kB / 0.9163 GB, free: 220 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.766, allocations: 86.8 kB / 0.9163 GB, free: 132 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.766, allocations: 17.14 kB / 0.9164 GB, free: 116 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.7661, allocations: 16.69 kB / 0.9164 GB, free: 96 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7662, allocations: 316.2 kB / 0.9167 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.7664, allocations: 37.45 kB / 0.9167 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7665, allocations: 29.53 kB / 0.9167 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.7668, allocations: 68.09 kB / 0.9168 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7668, allocations: 0 / 0.9168 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000327/0.7671, allocations: 102.7 kB / 0.9169 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7672, allocations: 5.344 kB / 0.9169 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7672, allocations: 0 / 0.9169 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7672, allocations: 1.719 kB / 0.9169 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.7673, allocations: 22.91 kB / 0.9169 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7673, allocations: 1.719 kB / 0.9169 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.7674, allocations: 21.48 kB / 0.917 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.7674, allocations: 5.438 kB / 0.917 GB, free: 15.62 MB / 0.7169 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.099e-05/0.7675, allocations: 112 kB / 0.9171 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.7676, allocations: 2.438 kB / 0.9171 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.7679, allocations: 108.5 kB / 0.9172 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.768, allocations: 1.031 kB / 0.9172 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.768, allocations: 5.281 kB / 0.9172 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.768, allocations: 0 / 0.9172 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7682, allocations: 173.6 kB / 0.9173 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.7682, allocations: 0.875 kB / 0.9173 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/0.7683, allocations: 14.39 kB / 0.9174 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7683, allocations: 9.109 kB / 0.9174 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7683, allocations: 0 / 0.9174 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7683, allocations: 0 / 0.9174 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7683, allocations: 1.125 kB / 0.9174 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.7687, allocations: 197.8 kB / 0.9176 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.7688, allocations: 82.27 kB / 0.9176 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.7688, allocations: 3.984 kB / 0.9176 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7689, allocations: 10.73 kB / 0.9177 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.769, allocations: 7.594 kB / 0.9177 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.769, allocations: 5.188 kB / 0.9177 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.769, allocations: 96.52 kB / 0.9178 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7691, allocations: 0 / 0.9178 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.7693, allocations: 11.91 kB / 0.9178 GB, free: 14.83 MB / 0.7169 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.0001625/0.7695, allocations: 105.3 kB / 0.9179 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.7698, allocations: 78.8 kB / 0.9179 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7699, allocations: 0.9688 kB / 0.9179 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.77, allocations: 36.62 kB / 0.918 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.7704, allocations: 13.5 kB / 0.918 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.7707, allocations: 188.5 kB / 0.9182 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.771, allocations: 0.6801 MB / 0.9188 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.771, allocations: 15.78 kB / 0.9189 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.771, allocations: 0 / 0.9189 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.002513/0.7736, allocations: 0.9359 MB / 0.9198 GB, free: 13.34 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)