Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005498/0.005498, allocations: 101 kB / 15.73 MB, free: 6.441 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.0011/0.0011, allocations: 195.9 kB / 16.68 MB, free: 6.355 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.706/0.706, allocations: 95.48 MB / 365.4 MB, free: 9.754 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.001652/0.001652, allocations: 70.09 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004043/0.164, allocations: 1.723 MB / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1651, allocations: 403.6 kB / 0.5731 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1652, allocations: 0 / 0.5731 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.1653, allocations: 11.86 kB / 0.5732 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1654, allocations: 35.7 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1659, allocations: 95.69 kB / 0.5733 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1661, allocations: 115.5 kB / 0.5734 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1663, allocations: 21.12 kB / 0.5734 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.1664, allocations: 55.83 kB / 0.5735 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.1665, allocations: 47.77 kB / 0.5735 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1665, allocations: 8 kB / 0.5735 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1666, allocations: 43.97 kB / 0.5736 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1667, allocations: 23.91 kB / 0.5736 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1667, allocations: 47.73 kB / 0.5736 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1669, allocations: 123.6 kB / 0.5737 GB, free: 5.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1669, allocations: 0 / 0.5737 GB, free: 5.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.167, allocations: 0 / 0.5737 GB, free: 5.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.167, allocations: 0 / 0.5737 GB, free: 5.562 MB / 446.1 MB 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.0007103/0.1677, allocations: 431 kB / 0.5742 GB, free: 5.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1677, allocations: 15.97 kB / 0.5742 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.1681, allocations: 32.73 kB / 0.5742 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1683, allocations: 192.1 kB / 0.5744 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1683, allocations: 12.38 kB / 0.5744 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1684, allocations: 12.38 kB / 0.5744 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1687, allocations: 142.4 kB / 0.5745 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1687, allocations: 192 / 0.5745 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1687, allocations: 3.938 kB / 0.5746 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1687, allocations: 8 kB / 0.5746 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.169, allocations: 87.86 kB / 0.5746 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.1699, allocations: 0.7043 MB / 0.5753 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.1702, allocations: 98.55 kB / 0.5754 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1703, allocations: 36.88 kB / 0.5755 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1703, allocations: 4 kB / 0.5755 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1704, allocations: 34.56 kB / 0.5755 GB, free: 3.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1704, allocations: 0 / 0.5755 GB, free: 3.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001309/0.1717, allocations: 315.2 kB / 0.5758 GB, free: 3.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1717, allocations: 55.34 kB / 0.5758 GB, free: 3.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1719, allocations: 167.3 kB / 0.576 GB, free: 3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1719, allocations: 25.7 kB / 0.576 GB, free: 2.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.172, allocations: 104.2 kB / 0.5761 GB, free: 2.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.172, allocations: 23.64 kB / 0.5762 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.1721, allocations: 29.7 kB / 0.5762 GB, free: 2.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1722, allocations: 318.8 kB / 0.5765 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1723, allocations: 35.97 kB / 0.5765 GB, free: 2.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1725, allocations: 76.19 kB / 0.5766 GB, free: 2.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1728, allocations: 112.2 kB / 0.5767 GB, free: 2.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1728, allocations: 0 / 0.5767 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007263/0.1735, allocations: 202.2 kB / 0.5769 GB, free: 2.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1735, allocations: 4 kB / 0.5769 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1735, allocations: 4 kB / 0.5769 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.1741, allocations: 68.86 kB / 0.577 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1742, allocations: 27.91 kB / 0.577 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.176, allocations: 1.497 MB / 0.5785 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1762, allocations: 15.83 kB / 0.5785 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1762, allocations: 12.23 kB / 0.5785 GB, free: 256 kB / 446.1 MB 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 (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.0001074/0.1763, allocations: 117.9 kB / 0.5786 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1764, allocations: 11.91 kB / 0.5786 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.1771, allocations: 215.6 kB / 0.5788 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1772, allocations: 8 kB / 0.5788 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1772, allocations: 3.938 kB / 0.5788 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1772, allocations: 3.984 kB / 0.5788 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1774, allocations: 217.5 kB / 0.579 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1774, allocations: 0 / 0.579 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1776, allocations: 23.92 kB / 0.5791 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.1779, allocations: 64.78 kB / 0.5791 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.178, allocations: 7.984 kB / 0.5791 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.1794, allocations: 1.514 MB / 0.5806 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1795, allocations: 0 / 0.5806 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.1802, allocations: 288.1 kB / 0.5809 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.1802, allocations: 104.9 kB / 0.581 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1803, allocations: 0 / 0.581 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1804, allocations: 19.86 kB / 0.581 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.1805, allocations: 11.98 kB / 0.581 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1805, allocations: 4 kB / 0.581 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.1806, allocations: 124.9 kB / 0.5811 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1806, allocations: 0 / 0.5811 GB, free: 13.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1809, allocations: 31.94 kB / 0.5812 GB, free: 13.23 MB / 462.1 MB 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 (9): * Single equations (assignments): 8 * 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.0001405/0.181, allocations: 95.25 kB / 0.5813 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.1817, allocations: 230.5 kB / 0.5815 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1817, allocations: 0 / 0.5815 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.182, allocations: 187.3 kB / 0.5817 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1824, allocations: 28.33 kB / 0.5817 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.183, allocations: 247 kB / 0.5819 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1833, allocations: 0.7085 MB / 0.5826 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.1834, allocations: 12.88 kB / 0.5826 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.1834, allocations: 23.42 kB / 0.5826 GB, free: 11.64 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1835, allocations: 3.938 kB / 0.5826 GB, free: 11.63 MB / 462.1 MB Notification: Performance of Templates: time 0.005842/0.1893, allocations: 2.474 MB / 0.5851 GB, free: 9.191 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)