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 4.74/4.74, allocations: 0.5623 GB / 0.5769 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002376/0.002375, allocations: 355.8 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.943/3.943, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001705/0.001704, allocations: 159.9 kB / 1.225 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.00048, allocations: 12.72 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 115.3 MB / 1.461 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001795/0.1568, allocations: 1.457 MB / 1.462 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1588, allocations: 1.527 MB / 1.464 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.1589, allocations: 7.938 kB / 1.464 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.1591, allocations: 19.86 kB / 1.464 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.1592, allocations: 11.86 kB / 1.464 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.1598, allocations: 191.5 kB / 1.464 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.16, allocations: 183.5 kB / 1.464 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1601, allocations: 50.17 kB / 1.464 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1603, allocations: 71.75 kB / 1.464 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1604, allocations: 67.67 kB / 1.464 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1604, allocations: 4 kB / 1.464 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1608, allocations: 159.7 kB / 1.464 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.1609, allocations: 63.8 kB / 1.464 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.161, allocations: 57.62 kB / 1.465 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1613, allocations: 259.5 kB / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.552e-06/0.1613, allocations: 0 / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.671e-06/0.1613, allocations: 0 / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.756e-06/0.1613, allocations: 4 kB / 1.465 GB, free: 2.48 MB / 0.6042 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.0007994/0.1621, allocations: 0.5259 MB / 1.465 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1622, allocations: 8.031 kB / 1.465 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.1623, allocations: 27.7 kB / 1.465 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1625, allocations: 231.4 kB / 1.466 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1625, allocations: 19.98 kB / 1.466 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.1626, allocations: 24 kB / 1.466 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.163, allocations: 189.3 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.163, allocations: 0 / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.163, allocations: 7.953 kB / 1.466 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-06/0.163, allocations: 4 kB / 1.466 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.1634, allocations: 123.9 kB / 1.466 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.165, allocations: 0.5665 MB / 1.466 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.166, allocations: 274.6 kB / 1.467 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1663, allocations: 89 kB / 1.467 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1663, allocations: 7.984 kB / 1.467 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.1667, allocations: 156.8 kB / 1.467 GB, free: 84 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.516e-06/0.1667, allocations: 0 / 1.467 GB, free: 84 kB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0009522/0.1677, allocations: 366.1 kB / 1.467 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.1678, allocations: 63.39 kB / 1.467 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.168, allocations: 183.1 kB / 1.468 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.1681, allocations: 45.69 kB / 1.468 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1682, allocations: 124.4 kB / 1.468 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.1683, allocations: 67.16 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.1683, allocations: 8 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1685, allocations: 330.8 kB / 1.468 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1688, allocations: 107.9 kB / 1.468 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.1692, allocations: 228 kB / 1.468 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1695, allocations: 135.9 kB / 1.469 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.643e-06/0.1695, allocations: 0 / 1.469 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008804/0.1704, allocations: 381.3 kB / 1.469 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1705, allocations: 15.08 kB / 1.469 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1705, allocations: 4 kB / 1.469 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1705, allocations: 8 kB / 1.469 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.1708, allocations: 59.84 kB / 1.469 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1708, allocations: 4 kB / 1.469 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1711, allocations: 47.77 kB / 1.469 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.1711, allocations: 12 kB / 1.469 GB, free: 13.83 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.0002403/0.1714, allocations: 175.4 kB / 1.469 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.1714, allocations: 19.72 kB / 1.469 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.1715, allocations: 25.81 kB / 1.469 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.489e-06/0.1715, allocations: 8 kB / 1.469 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-06/0.1715, allocations: 0 / 1.469 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-06/0.1715, allocations: 0 / 1.469 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1729, allocations: 0.6311 MB / 1.47 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.859e-06/0.1729, allocations: 4 kB / 1.47 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1731, allocations: 27.92 kB / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.733e-06/0.1731, allocations: 0 / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1731, allocations: 4 kB / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1731, allocations: 4 kB / 1.47 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.173e-06/0.1732, allocations: 3.984 kB / 1.47 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.1741, allocations: 483 kB / 1.47 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.1743, allocations: 104.8 kB / 1.47 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1743, allocations: 15.97 kB / 1.47 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1746, allocations: 31.91 kB / 1.471 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.1747, allocations: 19.97 kB / 1.471 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.1747, allocations: 8 kB / 1.471 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001438/0.1749, allocations: 128.3 kB / 1.471 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.07e-07/0.1749, allocations: 0 / 1.471 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005932/0.1755, allocations: 103.8 kB / 1.471 GB, free: 11.96 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.0008571/0.1763, allocations: 319.1 kB / 1.471 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006726/0.177, allocations: 255.5 kB / 1.471 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1771, allocations: 0 / 1.471 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.1773, allocations: 103.6 kB / 1.471 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1777, allocations: 20.92 kB / 1.471 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1789, allocations: 0.5086 MB / 1.472 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1794, allocations: 0.752 MB / 1.473 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.1796, allocations: 49.91 kB / 1.473 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.1796, allocations: 15.44 kB / 1.473 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of SimCode: time 1.534e-06/0.1796, allocations: 0 / 1.473 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of Templates: time 0.008397/0.1881, allocations: 2.838 MB / 1.475 GB, free: 7.133 MB / 0.6198 GB