Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.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.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.49/2.49, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.001408/0.001408, allocations: 179 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 2.178/2.178, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001101/0.001101, allocations: 86.12 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004997, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1573, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001879/0.1592, allocations: 1.457 MB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1613, allocations: 1.539 MB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.1615, allocations: 8 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1616, allocations: 19.84 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1617, allocations: 19.91 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.1624, allocations: 195.5 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1626, allocations: 167.7 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1628, allocations: 49.89 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1629, allocations: 71.75 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.163, allocations: 67.75 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1631, allocations: 4 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.1634, allocations: 147.7 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.1635, allocations: 71.81 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.1636, allocations: 57.56 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.164, allocations: 275.7 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.599e-06/0.164, allocations: 0 / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.192e-06/0.164, allocations: 0 / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.164, allocations: 0 / 0.9828 GB, free: 24.02 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008152/0.1648, allocations: 0.5301 MB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1649, allocations: 16.02 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.1649, allocations: 23.72 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1652, allocations: 247.6 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1652, allocations: 20.27 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.1653, allocations: 24 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.1657, allocations: 196.2 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1658, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1658, allocations: 19.94 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-06/0.1658, allocations: 4 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1661, allocations: 116.5 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1676, allocations: 0.6016 MB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.1685, allocations: 290.5 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1685, allocations: 96 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.1689, allocations: 185.3 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.975e-06/0.1689, allocations: 0 / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0008556/0.1698, allocations: 463.2 kB / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1698, allocations: 67.39 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.17, allocations: 182.2 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.1701, allocations: 49.69 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.1702, allocations: 136.5 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.1702, allocations: 75.09 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.1703, allocations: 4 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.1703, allocations: 338.8 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.1706, allocations: 112.8 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.171, allocations: 252.6 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1713, allocations: 147.9 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1713, allocations: 8 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008012/0.1721, allocations: 409.2 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1722, allocations: 12 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1722, allocations: 4 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1722, allocations: 8 kB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.1725, allocations: 59.94 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1725, allocations: 19.88 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1727, allocations: 47.67 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1728, allocations: 16 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.173, allocations: 180.3 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1731, allocations: 20 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1731, allocations: 21.88 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.534e-06/0.1731, allocations: 0 / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.1731, allocations: 8 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.98e-06/0.1732, allocations: 7.938 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1743, allocations: 0.6779 MB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1743, allocations: 0 / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.1745, allocations: 23.98 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.907e-06/0.1745, allocations: 0 / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.1745, allocations: 7.984 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.804e-06/0.1746, allocations: 11.95 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-06/0.1746, allocations: 0 / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.1755, allocations: 0.5068 MB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.1755, allocations: 96.89 kB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.1756, allocations: 15.98 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1758, allocations: 23.98 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.1759, allocations: 27.92 kB / 0.9889 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.1759, allocations: 11.98 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001031/0.1761, allocations: 132.3 kB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.74e-07/0.1761, allocations: 3.938 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005958/0.1767, allocations: 111.8 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0008146/0.1775, allocations: 329.5 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006332/0.1782, allocations: 275.6 kB / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.274e-06/0.1782, allocations: 0 / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.1784, allocations: 107.9 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1787, allocations: 20.88 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.1797, allocations: 0.5336 MB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.18, allocations: 0.7523 MB / 0.9911 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.1802, allocations: 54.25 kB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.1802, allocations: 19.44 kB / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.683e-06/0.1802, allocations: 192 / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.00774/0.188, allocations: 3.01 MB / 0.9941 GB, free: 12.07 MB / 0.6198 GB