Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.472/2.472, allocations: 287.9 MB / 302.9 MB, free: 8.242 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.001452/0.001452, allocations: 165.2 kB / 371.4 MB, free: 10.71 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.985/1.985, allocations: 205.4 MB / 0.6301 GB, free: 10.46 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.001016/0.001016, allocations: 96.47 kB / 0.7434 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004632, allocations: 10.5 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 115.3 MB / 0.9788 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001786/0.1546, allocations: 1.453 MB / 0.9802 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1567, allocations: 1.535 MB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.1568, allocations: 3.938 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.157, allocations: 19.91 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1571, allocations: 23.91 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.1577, allocations: 195.5 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1579, allocations: 139.7 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1581, allocations: 46.17 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1582, allocations: 75.73 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1584, allocations: 55.77 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1584, allocations: 4 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.1587, allocations: 147.7 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.1588, allocations: 63.81 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.1589, allocations: 49.64 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1592, allocations: 267.4 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.688e-06/0.1593, allocations: 0 / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.876e-06/0.1593, allocations: 0 / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1593, allocations: 0 / 0.9827 GB, free: 24.13 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008434/0.1601, allocations: 0.5337 MB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1602, allocations: 8.031 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.1603, allocations: 35.59 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1605, allocations: 231.5 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1605, allocations: 15.94 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1606, allocations: 20 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.161, allocations: 189.3 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.161, allocations: 0 / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1611, allocations: 11.95 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-06/0.1611, allocations: 4 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.1614, allocations: 127.9 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1628, allocations: 0.5665 MB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.1637, allocations: 270.6 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1637, allocations: 4 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.1641, allocations: 152.8 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.905e-06/0.1641, allocations: 0 / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.000871/0.165, allocations: 444.7 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.165, allocations: 67.41 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1652, allocations: 174.6 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1653, allocations: 41.69 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.1653, allocations: 124.5 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.1654, allocations: 63.16 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.1654, allocations: 8 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.1655, allocations: 334.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1658, allocations: 103.9 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1661, allocations: 232.6 kB / 0.9863 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.1664, allocations: 139.8 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.432e-06/0.1664, allocations: 4 kB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007381/0.1671, allocations: 368.9 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1672, allocations: 8.469 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.701e-06/0.1672, allocations: 8 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1672, allocations: 11.95 kB / 0.9869 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1675, allocations: 63.84 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1675, allocations: 4 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1677, allocations: 39.77 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.1678, allocations: 19.98 kB / 0.987 GB, free: 19.47 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: 26 ($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[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001773/0.168, allocations: 171.4 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.168, allocations: 23.7 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.1681, allocations: 17.88 kB / 0.9872 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-06/0.1681, allocations: 7.953 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.789e-06/0.1681, allocations: 0 / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.14e-06/0.1681, allocations: 11.92 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1692, allocations: 0.6299 MB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.144e-06/0.1692, allocations: 0 / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1694, allocations: 23.94 kB / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-06/0.1694, allocations: 4 kB / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1695, allocations: 11.98 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1695, allocations: 4 kB / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1695, allocations: 0 / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.1703, allocations: 483 kB / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1704, allocations: 100.9 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.1704, allocations: 15.95 kB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1707, allocations: 27.97 kB / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.1707, allocations: 15.97 kB / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.1708, allocations: 19.98 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.679e-05/0.1709, allocations: 124.3 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.24e-07/0.1709, allocations: 0 / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006028/0.1715, allocations: 111.8 kB / 0.9887 GB, free: 17.6 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: 14 (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],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 (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.000804/0.1723, allocations: 316.6 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.173, allocations: 258.9 kB / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.715e-06/0.173, allocations: 0 / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1732, allocations: 103.8 kB / 0.9894 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1735, allocations: 17.88 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.1744, allocations: 0.5014 MB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.1746, allocations: 0.7482 MB / 0.9906 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.1748, allocations: 49.91 kB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.1749, allocations: 19.44 kB / 0.9907 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.441e-06/0.1749, allocations: 0 / 0.9907 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.007343/0.1823, allocations: 2.827 MB / 0.9934 GB, free: 12.79 MB / 0.6198 GB