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.001054/0.001054, allocations: 108 kB / 15.61 MB, free: 152 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.001106/0.001106, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.704/1.704, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001394/0.001394, allocations: 72.39 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1962, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002559/0.1988, allocations: 1.484 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.3359, allocations: 132.1 MB / 0.9138 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.336, allocations: 0 / 0.9138 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.336, allocations: 3.938 kB / 0.9138 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.158e-05/0.3361, allocations: 19.86 kB / 0.9138 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.3365, allocations: 64 kB / 0.9139 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.3366, allocations: 59.72 kB / 0.9139 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.3367, allocations: 19.92 kB / 0.9139 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.3367, allocations: 19.92 kB / 0.914 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.3368, allocations: 23.92 kB / 0.914 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3368, allocations: 8 kB / 0.914 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.3369, allocations: 19.98 kB / 0.914 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3369, allocations: 7.938 kB / 0.914 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.3369, allocations: 19.86 kB / 0.914 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3371, allocations: 55.86 kB / 0.9141 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3371, allocations: 0 / 0.9141 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3371, allocations: 0 / 0.9141 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3371, allocations: 0 / 0.9141 GB, free: 7.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005205/0.3376, allocations: 375.2 kB / 0.9145 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3377, allocations: 12.03 kB / 0.9145 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3377, allocations: 4.938 kB / 0.9145 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3378, allocations: 180.2 kB / 0.9146 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3378, allocations: 384 / 0.9146 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3379, allocations: 8.375 kB / 0.9146 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.3381, allocations: 70.22 kB / 0.9147 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3381, allocations: 192 / 0.9147 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3382, allocations: 3.938 kB / 0.9147 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3382, allocations: 4 kB / 0.9147 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.3385, allocations: 71.92 kB / 0.9148 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3388, allocations: 288.7 kB / 0.9151 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.339, allocations: 58.53 kB / 0.9151 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3392, allocations: 40.92 kB / 0.9152 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.3394, allocations: 97.02 kB / 0.9153 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3394, allocations: 30.56 kB / 0.9153 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3394, allocations: 4 kB / 0.9153 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.3399, allocations: 129.5 kB / 0.9154 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.34, allocations: 55.41 kB / 0.9155 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.3401, allocations: 117.8 kB / 0.9156 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3401, allocations: 29.7 kB / 0.9156 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3402, allocations: 99.97 kB / 0.9157 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3402, allocations: 7.906 kB / 0.9157 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3402, allocations: 13.72 kB / 0.9157 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.3403, allocations: 322.8 kB / 0.916 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3405, allocations: 31.97 kB / 0.9161 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3406, allocations: 31.95 kB / 0.9161 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3409, allocations: 68.73 kB / 0.9162 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3409, allocations: 0 / 0.9162 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003243/0.3412, allocations: 109.5 kB / 0.9163 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3412, allocations: 4 kB / 0.9163 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3413, allocations: 0 / 0.9163 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3413, allocations: 0 / 0.9163 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3414, allocations: 15.98 kB / 0.9163 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3414, allocations: 0 / 0.9163 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.3415, allocations: 11.98 kB / 0.9163 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3415, allocations: 0 / 0.9163 GB, free: 4.566 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 8.206e-05/0.3416, allocations: 125.8 kB / 0.9164 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3416, allocations: 0 / 0.9164 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.342, allocations: 105.5 kB / 0.9165 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.342, allocations: 4 kB / 0.9165 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.342, allocations: 0 / 0.9165 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.342, allocations: 0 / 0.9165 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.3422, allocations: 177.5 kB / 0.9167 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3422, allocations: 7.938 kB / 0.9167 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.3423, allocations: 19.98 kB / 0.9167 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3423, allocations: 0 / 0.9167 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3423, allocations: 3.938 kB / 0.9167 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3423, allocations: 0 / 0.9167 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3423, allocations: 0 / 0.9167 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3428, allocations: 203.3 kB / 0.9169 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.3428, allocations: 81.44 kB / 0.917 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3428, allocations: 4 kB / 0.917 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.343, allocations: 11.98 kB / 0.917 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.343, allocations: 3.984 kB / 0.917 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3431, allocations: 8 kB / 0.917 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.3431, allocations: 91.27 kB / 0.9171 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3431, allocations: 4 kB / 0.9171 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002465/0.3434, allocations: 23.94 kB / 0.9171 GB, free: 3.602 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.0001788/0.3436, allocations: 107.2 kB / 0.9172 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.3439, allocations: 67.91 kB / 0.9173 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.344, allocations: 4 kB / 0.9173 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3441, allocations: 39.91 kB / 0.9173 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3445, allocations: 15.92 kB / 0.9173 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.345, allocations: 163.7 kB / 0.9175 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3453, allocations: 0.6807 MB / 0.9182 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.3453, allocations: 4 kB / 0.9182 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3454, allocations: 11.44 kB / 0.9182 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3454, allocations: 0 / 0.9182 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of Templates: time 0.003415/0.3488, allocations: 1.003 MB / 0.9192 GB, free: 1.469 MB / 0.7325 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)