Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.578/2.578, allocations: 287.9 MB / 302.9 MB, free: 8.398 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 195.7 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.2 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 18.98 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002942/0.1592, allocations: 2.504 MB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1614, allocations: 1.084 MB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.1618, allocations: 15.94 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.162, allocations: 47.56 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.1624, allocations: 87.67 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.1632, allocations: 250.4 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.1638, allocations: 408.5 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.1643, allocations: 352.1 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1645, allocations: 175.2 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1647, allocations: 179 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.1648, allocations: 20 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.1649, allocations: 20 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.165, allocations: 79.67 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.1651, allocations: 109.5 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.1656, allocations: 0.5457 MB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.898e-06/0.1656, allocations: 3.938 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.417e-06/0.1656, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.511e-06/0.1656, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001478/0.1671, allocations: 0.7924 MB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1672, allocations: 8.031 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1673, allocations: 67.2 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.168, allocations: 423.6 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.168, allocations: 40.98 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.1681, allocations: 48 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1693, allocations: 0.5352 MB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1694, allocations: 7.938 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.1694, allocations: 19.98 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1695, allocations: 12 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1707, allocations: 419.6 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.1733, allocations: 1.86 MB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1745, allocations: 373.2 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.1745, allocations: 4 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006459/0.1752, allocations: 221.4 kB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.877e-06/0.1752, allocations: 4 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001523/0.1768, allocations: 0.4974 MB / 0.9896 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1768, allocations: 59.41 kB / 0.9897 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.1773, allocations: 405.4 kB / 0.9901 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.1774, allocations: 41.7 kB / 0.9901 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.1776, allocations: 256.1 kB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.1777, allocations: 94.73 kB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1777, allocations: 12 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.1778, allocations: 346.8 kB / 0.9908 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.1783, allocations: 169 kB / 0.991 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.1789, allocations: 269.9 kB / 0.9912 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.1795, allocations: 199.5 kB / 0.9914 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.033e-06/0.1795, allocations: 3.953 kB / 0.9914 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001338/0.1808, allocations: 0.5342 MB / 0.9919 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.1809, allocations: 33.7 kB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1809, allocations: 4 kB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.181, allocations: 11.98 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.1814, allocations: 75.83 kB / 0.992 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1814, allocations: 8 kB / 0.9921 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.1819, allocations: 87.45 kB / 0.9921 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.1819, allocations: 20 kB / 0.9922 GB, free: 14.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.1822, allocations: 209.7 kB / 0.9924 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.1823, allocations: 51.42 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1835, allocations: 409.4 kB / 0.9928 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.217e-06/0.1835, allocations: 4 kB / 0.9928 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1835, allocations: 0 / 0.9928 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.893e-06/0.1835, allocations: 3.984 kB / 0.9928 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.1854, allocations: 0.9826 MB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/0.1855, allocations: 3.938 kB / 0.9938 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.1858, allocations: 51.91 kB / 0.9938 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.1858, allocations: 7.984 kB / 0.9938 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1859, allocations: 4 kB / 0.9938 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.927e-06/0.1859, allocations: 4 kB / 0.9938 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-06/0.1859, allocations: 4.031 kB / 0.9938 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.1875, allocations: 0.6695 MB / 0.9945 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.1877, allocations: 144.6 kB / 0.9946 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.1878, allocations: 12 kB / 0.9946 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.1882, allocations: 44.02 kB / 0.9947 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.1883, allocations: 47.92 kB / 0.9947 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.1884, allocations: 12 kB / 0.9947 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003324/0.1887, allocations: 271 kB / 0.995 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.32e-07/0.1888, allocations: 0 / 0.995 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005552/0.1893, allocations: 99.69 kB / 0.9951 GB, free: 10.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.1895, allocations: 125.5 kB / 0.9952 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.1907, allocations: 455.3 kB / 0.9956 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.401e-06/0.1907, allocations: 0 / 0.9956 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.1913, allocations: 196.2 kB / 0.9958 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.1919, allocations: 71.02 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1935, allocations: 0.8652 MB / 0.9967 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1939, allocations: 0.8318 MB / 0.9976 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003062/0.1942, allocations: 59.44 kB / 0.9976 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1943, allocations: 35.44 kB / 0.9976 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.786e-06/0.1943, allocations: 3.938 kB / 0.9977 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of Templates: time 0.01179/0.2061, allocations: 4.416 MB / 1.002 GB, free: 3.879 MB / 0.6198 GB