Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.598/2.598, allocations: 287.9 MB / 302.9 MB, free: 8.34 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.001425/0.001425, allocations: 180.2 kB / 371.4 MB, free: 10.64 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.175/2.175, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001048/0.001048, allocations: 85.95 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 18.86 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001415/0.158, allocations: 1.168 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.1588, allocations: 469.2 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.1588, allocations: 3.938 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1588, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.1589, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.159, allocations: 23.97 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.1591, allocations: 27.91 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.1592, allocations: 15.98 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.1593, allocations: 15.94 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.1593, allocations: 19.89 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1594, allocations: 4 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.1594, allocations: 4 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1594, allocations: 4 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1594, allocations: 33.7 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.044e-05/0.1595, allocations: 28.16 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1595, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.909e-06/0.1595, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.908e-06/0.1595, allocations: 0 / 0.9805 GB, free: 26.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000392/0.1599, allocations: 359.2 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.16, allocations: 12.02 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.16, allocations: 11.89 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.1601, allocations: 170.9 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1602, allocations: 4 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1602, allocations: 8 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1603, allocations: 65.55 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.604e-06/0.1603, allocations: 0 / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1603, allocations: 4 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-06/0.1604, allocations: 0 / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.1604, allocations: 19.98 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1609, allocations: 316.7 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1611, allocations: 54.59 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1611, allocations: 0 / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1612, allocations: 75.52 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.483e-06/0.1613, allocations: 0 / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002362/0.1615, allocations: 105.6 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1616, allocations: 51.41 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1616, allocations: 109.8 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1617, allocations: 29.7 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.1617, allocations: 84.14 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1617, allocations: 23.64 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-06/0.1617, allocations: 8 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.1618, allocations: 310.8 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.1619, allocations: 19.98 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.1619, allocations: 43.8 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.162, allocations: 24.17 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-06/0.162, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001704/0.1622, allocations: 97.55 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1622, allocations: 11.94 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-06/0.1622, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1623, allocations: 4.031 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1623, allocations: 11.95 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.317e-06/0.1624, allocations: 4 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.1625, allocations: 11.89 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1625, allocations: 8 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.295e-05/0.1626, allocations: 121.7 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.1626, allocations: 4.062 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.1626, allocations: 11.97 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-06/0.1626, allocations: 8 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-06/0.1626, allocations: 3.953 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-06/0.1627, allocations: 0 / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.1631, allocations: 362.4 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1631, allocations: 0 / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.1631, allocations: 4 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.472e-06/0.1632, allocations: 0 / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1632, allocations: 7.953 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.49e-06/0.1632, allocations: 4 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1632, allocations: 0 / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1634, allocations: 179.5 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.1634, allocations: 84.95 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1634, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1635, allocations: 19.94 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1636, allocations: 11.98 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.1636, allocations: 3.938 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.1637, allocations: 83.28 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.08e-07/0.1637, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003105/0.164, allocations: 12.19 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.252e-05/0.1641, allocations: 103.2 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1642, allocations: 51.86 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1643, allocations: 4.062 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.1643, allocations: 31.92 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.1646, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.165, allocations: 180.6 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.1652, allocations: 0.6926 MB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1652, allocations: 7.984 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1652, allocations: 11.44 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.326e-06/0.1653, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.003113/0.1684, allocations: 0.6509 MB / 0.985 GB, free: 21.31 MB / 0.6198 GB