Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.000907, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006778/0.006779, allocations: 171.7 kB / 16.26 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.747/1.747, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6618/0.6618, allocations: 95.64 MB / 366.4 MB, free: 10.31 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005799/0.0005798, allocations: 12 kB / 447.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3957, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001873/0.3977, allocations: 1.452 MB / 0.5071 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5607/0.9584, allocations: 154.6 MB / 0.658 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.9586, allocations: 1.125 kB / 0.658 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.9588, allocations: 20.14 kB / 0.658 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.9589, allocations: 28.08 kB / 0.6581 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.9598, allocations: 196.5 kB / 0.6583 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.9601, allocations: 144.2 kB / 0.6584 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.9603, allocations: 35.81 kB / 0.6584 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.9605, allocations: 68.17 kB / 0.6585 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.9606, allocations: 64.58 kB / 0.6586 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.9607, allocations: 4.594 kB / 0.6586 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.9611, allocations: 248.2 kB / 0.6588 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.9612, allocations: 20.08 kB / 0.6588 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.9613, allocations: 77.22 kB / 0.6589 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.9616, allocations: 255.8 kB / 0.6591 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9617, allocations: 4 kB / 0.6591 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9617, allocations: 0 / 0.6591 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9617, allocations: 1.859 kB / 0.6591 GB, free: 12.49 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000983/0.9627, allocations: 0.5185 MB / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9627, allocations: 13.36 kB / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.963, allocations: 20.06 kB / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.9632, allocations: 204.9 kB / 0.6599 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.9632, allocations: 10.28 kB / 0.6599 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.9633, allocations: 14.16 kB / 0.6599 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.9637, allocations: 178.3 kB / 0.6601 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9637, allocations: 0 / 0.6601 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9637, allocations: 3.812 kB / 0.6601 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.9637, allocations: 3.219 kB / 0.6601 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.9642, allocations: 177.5 kB / 0.6602 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.965, allocations: 0.7223 MB / 0.661 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.9654, allocations: 139.1 kB / 0.6611 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.9657, allocations: 97.2 kB / 0.6612 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.9657, allocations: 1.094 kB / 0.6612 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.9658, allocations: 39.66 kB / 0.6612 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.9658, allocations: 0.625 kB / 0.6612 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001816/0.9676, allocations: 478.6 kB / 0.6617 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.9677, allocations: 53.98 kB / 0.6617 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.9678, allocations: 163.7 kB / 0.6619 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.9678, allocations: 28.7 kB / 0.6619 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.9679, allocations: 107.8 kB / 0.662 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.968, allocations: 28.45 kB / 0.662 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.968, allocations: 19.17 kB / 0.6621 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9681, allocations: 320.3 kB / 0.6624 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.9684, allocations: 99.88 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.9686, allocations: 122.9 kB / 0.6626 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.9691, allocations: 264.7 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.9691, allocations: 0 / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001034/0.9702, allocations: 401.1 kB / 0.6632 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.9702, allocations: 62.73 kB / 0.6633 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.9703, allocations: 3.938 kB / 0.6633 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.9708, allocations: 85.94 kB / 0.6634 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.971, allocations: 36.23 kB / 0.6634 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.973, allocations: 1.513 MB / 0.6649 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.9732, allocations: 28.12 kB / 0.6649 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.9733, allocations: 14.62 kB / 0.6649 GB, free: 8.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (wetBulApp.iWat,wetBul.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.9734, allocations: 120.9 kB / 0.665 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.9735, allocations: 12.5 kB / 0.665 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.9745, allocations: 350.1 kB / 0.6654 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.9745, allocations: 6.812 kB / 0.6654 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.9745, allocations: 0.875 kB / 0.6654 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.9745, allocations: 2.578 kB / 0.6654 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.9757, allocations: 0.6097 MB / 0.666 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9757, allocations: 0 / 0.666 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.9759, allocations: 35.25 kB / 0.666 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.9763, allocations: 84.64 kB / 0.6661 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.9763, allocations: 4.75 kB / 0.6661 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.9779, allocations: 1.488 MB / 0.6675 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9779, allocations: 0 / 0.6675 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.9788, allocations: 416.2 kB / 0.6679 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.9789, allocations: 104.5 kB / 0.668 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.9789, allocations: 9.297 kB / 0.6681 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.9791, allocations: 18.97 kB / 0.6681 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.9792, allocations: 19.58 kB / 0.6681 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.9792, allocations: 2.938 kB / 0.6681 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.9793, allocations: 120.2 kB / 0.6682 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9793, allocations: 0 / 0.6682 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003833/0.9797, allocations: 70.98 kB / 0.6683 GB, free: 6.395 MB / 0.4981 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.98, allocations: 151.2 kB / 0.6684 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.9809, allocations: 451.8 kB / 0.6688 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9809, allocations: 1.859 kB / 0.6689 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.9813, allocations: 246.3 kB / 0.6691 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.9817, allocations: 18.36 kB / 0.6691 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.9823, allocations: 359.2 kB / 0.6694 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.9826, allocations: 0.7221 MB / 0.6702 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.413e-05/0.9827, allocations: 23.05 kB / 0.6702 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.9828, allocations: 17.19 kB / 0.6702 GB, free: 5 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.9828, allocations: 0 / 0.6702 GB, free: 5 MB / 0.4981 GB Notification: Performance of Templates: time 0.006795/0.9896, allocations: 3.226 MB / 0.6733 GB, free: 3.75 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: