Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.019/5.019, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002357/0.002357, allocations: 355.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.177/4.177, allocations: 410.7 MB / 1.112 GB, free: 148 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001696, allocations: 169.3 kB / 1.225 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005155, allocations: 13.53 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.159, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001639/0.1607, allocations: 1.375 MB / 1.462 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7781/0.9388, allocations: 135.7 MB / 1.595 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.9389, allocations: 4.781 kB / 1.595 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.9391, allocations: 14.83 kB / 1.595 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.9393, allocations: 45.89 kB / 1.595 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.9399, allocations: 150.4 kB / 1.595 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.9402, allocations: 138.4 kB / 1.595 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.9403, allocations: 27.8 kB / 1.595 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.9407, allocations: 123.2 kB / 1.595 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.9409, allocations: 50.12 kB / 1.595 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.9409, allocations: 4.719 kB / 1.595 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.9413, allocations: 161.4 kB / 1.595 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.9414, allocations: 19.72 kB / 1.595 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.9415, allocations: 37.33 kB / 1.595 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.9417, allocations: 136.1 kB / 1.595 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.864e-06/0.9418, allocations: 4 kB / 1.595 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9418, allocations: 0.9688 kB / 1.595 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.324e-06/0.9418, allocations: 0 / 1.595 GB, free: 15.54 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009735/0.9428, allocations: 458.7 kB / 1.596 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9428, allocations: 9.719 kB / 1.596 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000695/0.9435, allocations: 59.42 kB / 1.596 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.9438, allocations: 194.4 kB / 1.596 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.9439, allocations: 4.344 kB / 1.596 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.9439, allocations: 8.875 kB / 1.596 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.9448, allocations: 193.5 kB / 1.596 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9449, allocations: 3.906 kB / 1.596 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.9449, allocations: 4 kB / 1.596 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9449, allocations: 2.75 kB / 1.596 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.9459, allocations: 163.3 kB / 1.597 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.9474, allocations: 0.8278 MB / 1.597 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.948, allocations: 141.3 kB / 1.597 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.9483, allocations: 96.84 kB / 1.598 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.9484, allocations: 1.375 kB / 1.598 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.9484, allocations: 39.64 kB / 1.598 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.408e-06/0.9485, allocations: 0 / 1.598 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002392/0.9509, allocations: 495.7 kB / 1.598 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.951, allocations: 52.72 kB / 1.598 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.9511, allocations: 144.1 kB / 1.598 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.9512, allocations: 29.7 kB / 1.598 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.9513, allocations: 109.7 kB / 1.598 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.9514, allocations: 25.39 kB / 1.598 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.9514, allocations: 0.9062 kB / 1.598 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9516, allocations: 323.7 kB / 1.599 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.9519, allocations: 89.94 kB / 1.599 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.9523, allocations: 111.7 kB / 1.599 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.9527, allocations: 88.23 kB / 1.599 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.228e-06/0.9527, allocations: 0 / 1.599 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001394/0.9541, allocations: 298.4 kB / 1.599 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.9541, allocations: 5 kB / 1.599 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9542, allocations: 0.9062 kB / 1.599 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.9549, allocations: 96.98 kB / 1.599 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.9552, allocations: 35.08 kB / 1.599 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.958, allocations: 1.553 MB / 1.601 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.9586, allocations: 36.72 kB / 1.601 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.9586, allocations: 9.078 kB / 1.601 GB, free: 11.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.9589, allocations: 118.4 kB / 1.601 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.959, allocations: 8.938 kB / 1.601 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.9615, allocations: 345 kB / 1.601 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.9615, allocations: 4.297 kB / 1.601 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-06/0.9615, allocations: 1.5 kB / 1.601 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.702e-06/0.9616, allocations: 0.9062 kB / 1.601 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.9623, allocations: 226.4 kB / 1.602 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.722e-06/0.9623, allocations: 0 / 1.602 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.9628, allocations: 37.36 kB / 1.602 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/0.9638, allocations: 89.7 kB / 1.602 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.9638, allocations: 10.92 kB / 1.602 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.9678, allocations: 1.577 MB / 1.603 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.9679, allocations: 7.016 kB / 1.603 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.9701, allocations: 398.6 kB / 1.604 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.9703, allocations: 83.39 kB / 1.604 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.9704, allocations: 9.375 kB / 1.604 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.9709, allocations: 28.47 kB / 1.604 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.9711, allocations: 15.7 kB / 1.604 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.9711, allocations: 5.547 kB / 1.604 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001667/0.9713, allocations: 106.2 kB / 1.604 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.88e-07/0.9713, allocations: 1.156 kB / 1.604 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008427/0.9722, allocations: 39.19 kB / 1.604 GB, free: 8.977 MB / 0.6823 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.9726, allocations: 116.1 kB / 1.604 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.9744, allocations: 336.4 kB / 1.604 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.306e-06/0.9745, allocations: 4.062 kB / 1.604 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.9757, allocations: 239.1 kB / 1.605 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.9765, allocations: 30.91 kB / 1.605 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.9783, allocations: 355.7 kB / 1.605 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.9788, allocations: 0.7068 MB / 1.606 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004749/0.9793, allocations: 32.28 kB / 1.606 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.9795, allocations: 15.78 kB / 1.606 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of SimCode: time 2.505e-06/0.9795, allocations: 0 / 1.606 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of Templates: time 0.01481/0.9943, allocations: 2.853 MB / 1.609 GB, free: 6.508 MB / 0.6823 GB