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.001096/0.001096, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009016/0.009016, allocations: 171.3 kB / 16.27 MB, free: 6.32 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.41/1.41, allocations: 205.4 MB / 222.5 MB, free: 5.531 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.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005264/0.0005265, allocations: 19.09 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00128/0.2268, allocations: 1.009 MB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5514/0.7783, allocations: 128.5 MB / 0.9143 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.7784, allocations: 0 / 0.9143 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.7784, allocations: 0 / 0.9143 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.7785, allocations: 7.344 kB / 0.9143 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.7788, allocations: 53.62 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.7789, allocations: 24.12 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.7789, allocations: 3.234 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.779, allocations: 7.109 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.779, allocations: 11.45 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.779, allocations: 0.875 kB / 0.9144 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.7791, allocations: 15.72 kB / 0.9145 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.7791, allocations: 4.172 kB / 0.9145 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.7794, allocations: 32.23 kB / 0.9145 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.842e-05/0.7795, allocations: 25.64 kB / 0.9145 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7795, allocations: 0 / 0.9145 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7795, allocations: 10.86 kB / 0.9145 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.7795, allocations: 0 / 0.9145 GB, free: 21.48 MB / 0.7325 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.0003139/0.7798, allocations: 327.3 kB / 0.9148 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7799, allocations: 9.188 kB / 0.9148 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.7799, allocations: 7.094 kB / 0.9149 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.78, allocations: 165.9 kB / 0.915 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.7801, allocations: 32.31 kB / 0.915 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.7801, allocations: 2.312 kB / 0.915 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.7802, allocations: 46.72 kB / 0.9151 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7802, allocations: 3.938 kB / 0.9151 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.7802, allocations: 0.9688 kB / 0.9151 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.7802, allocations: 0 / 0.9151 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.7803, allocations: 12.47 kB / 0.9151 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.7804, allocations: 152.4 kB / 0.9152 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.7805, allocations: 31.48 kB / 0.9153 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.7806, allocations: 19.44 kB / 0.9153 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.7808, allocations: 91.64 kB / 0.9154 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7808, allocations: 31.62 kB / 0.9154 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7808, allocations: 0 / 0.9154 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002397/0.7811, allocations: 65.8 kB / 0.9155 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.7811, allocations: 56.41 kB / 0.9155 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.7812, allocations: 98.8 kB / 0.9156 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7812, allocations: 26.98 kB / 0.9157 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.7812, allocations: 80.7 kB / 0.9157 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.7813, allocations: 10.59 kB / 0.9157 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7813, allocations: 11.66 kB / 0.9158 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7814, allocations: 316.5 kB / 0.9161 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.7815, allocations: 4.562 kB / 0.9161 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.7815, allocations: 13.42 kB / 0.9161 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.7816, allocations: 23.36 kB / 0.9161 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7816, allocations: 0 / 0.9161 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001372/0.7818, allocations: 53.33 kB / 0.9161 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7818, allocations: 9.812 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7818, allocations: 1.75 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7818, allocations: 0.9688 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.7819, allocations: 8.969 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7819, allocations: 0.5469 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.7819, allocations: 6.781 kB / 0.9162 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.782, allocations: 0.9375 kB / 0.9162 GB, free: 19.8 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 7.754e-05/0.782, allocations: 112.8 kB / 0.9163 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.7821, allocations: 5 kB / 0.9163 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.7822, allocations: 60.33 kB / 0.9163 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7822, allocations: 4.719 kB / 0.9163 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7823, allocations: 0 / 0.9163 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7823, allocations: 4.812 kB / 0.9163 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.7824, allocations: 156.6 kB / 0.9165 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7824, allocations: 0 / 0.9165 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.7824, allocations: 8.281 kB / 0.9165 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7824, allocations: 5.625 kB / 0.9165 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.7824, allocations: 3.062 kB / 0.9165 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7824, allocations: 0.875 kB / 0.9165 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7825, allocations: 0 / 0.9165 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.7826, allocations: 77.73 kB / 0.9166 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.7826, allocations: 82.52 kB / 0.9167 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.7827, allocations: 8.734 kB / 0.9167 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/0.7827, allocations: 2.188 kB / 0.9167 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.7827, allocations: 2.438 kB / 0.9167 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.7827, allocations: 3.719 kB / 0.9167 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.7828, allocations: 85.77 kB / 0.9168 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7828, allocations: 0 / 0.9168 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001841/0.783, allocations: 13.5 kB / 0.9168 GB, free: 19.18 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.0001341/0.7831, allocations: 110.4 kB / 0.9169 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.7833, allocations: 18.94 kB / 0.9169 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7833, allocations: 0.625 kB / 0.9169 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.7833, allocations: 15.62 kB / 0.9169 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.7835, allocations: 7.203 kB / 0.9169 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.7838, allocations: 150 kB / 0.9171 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.784, allocations: 0.6755 MB / 0.9177 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.7841, allocations: 2.641 kB / 0.9177 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.7841, allocations: 9.281 kB / 0.9177 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7841, allocations: 8.766 kB / 0.9177 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.002507/0.7866, allocations: 489.9 kB / 0.9182 GB, free: 18.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: