Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00219/0.00219, allocations: 189.6 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.403/2.403, allocations: 205.4 MB / 0.5766 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 92.23 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006332, allocations: 12.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2157, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.4574, allocations: 132.1 MB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.4578, allocations: 75.95 kB / 1.028 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09132/0.5492, allocations: 18.87 MB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5492, allocations: 4 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.5493, allocations: 8 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001404/0.5507, allocations: 0.6237 MB / 1.047 GB, free: 9.484 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5508, allocations: 12.03 kB / 1.047 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5509, allocations: 31.66 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.5514, allocations: 245.7 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.5514, allocations: 16.27 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.5515, allocations: 20 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.5525, allocations: 454.7 kB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5525, allocations: 0 / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5525, allocations: 11.98 kB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5526, allocations: 4 kB / 1.048 GB, free: 8.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.5532, allocations: 323.8 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5543, allocations: 0.5625 MB / 1.049 GB, free: 7.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.5564, allocations: 1.034 MB / 1.05 GB, free: 6.648 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.5565, allocations: 11.98 kB / 1.05 GB, free: 6.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009532/0.5574, allocations: 478.7 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/0.5575, allocations: 0 / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002563/0.56, allocations: 1.102 MB / 1.051 GB, free: 5.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5602, allocations: 148.4 kB / 1.051 GB, free: 4.859 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.5606, allocations: 220.1 kB / 1.052 GB, free: 4.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.5607, allocations: 37.7 kB / 1.052 GB, free: 4.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5608, allocations: 133 kB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5609, allocations: 67.16 kB / 1.052 GB, free: 4.395 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.561, allocations: 12 kB / 1.052 GB, free: 4.383 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5612, allocations: 342.8 kB / 1.052 GB, free: 4.039 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.5619, allocations: 328.7 kB / 1.052 GB, free: 3.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.5626, allocations: 426.4 kB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.5635, allocations: 355.8 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5635, allocations: 3.938 kB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001844/0.5654, allocations: 0.833 MB / 1.054 GB, free: 2.074 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5654, allocations: 8 kB / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5654, allocations: 0 / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.5655, allocations: 8 kB / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.5658, allocations: 39.89 kB / 1.054 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.5658, allocations: 7.938 kB / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.5662, allocations: 24.72 kB / 1.054 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.5666, allocations: 207.6 kB / 1.054 GB, free: 1.785 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003883/0.5671, allocations: 195.2 kB / 1.054 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.5672, allocations: 27.72 kB / 1.054 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.5673, allocations: 38.17 kB / 1.055 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5673, allocations: 4 kB / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5673, allocations: 0 / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5673, allocations: 3.984 kB / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6132/1.181, allocations: 1.703 MB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.181, allocations: 1.625 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/1.181, allocations: 24.3 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.181, allocations: 4.125 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/1.181, allocations: 20.7 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/1.181, allocations: 3.781 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.181, allocations: 3.031 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/1.183, allocations: 1.157 MB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/1.183, allocations: 102.6 kB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/1.183, allocations: 14.98 kB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/1.183, allocations: 6.938 kB / 1.058 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.183, allocations: 50.09 kB / 1.058 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003518/1.184, allocations: 222.9 kB / 1.058 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002446/1.184, allocations: 178.4 kB / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.184, allocations: 0 / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007141/1.185, allocations: 65.34 kB / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002182/1.185, allocations: 140.6 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.186, allocations: 0.7365 MB / 1.059 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.186, allocations: 0 / 1.059 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/1.187, allocations: 404.6 kB / 1.059 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.19, allocations: 310.1 kB / 1.06 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/1.192, allocations: 1.017 MB / 1.061 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/1.192, allocations: 0.7581 MB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005338/1.193, allocations: 106.9 kB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/1.193, allocations: 65.38 kB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.193, allocations: 2.844 kB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of Templates: time 0.02351/1.216, allocations: 7.836 MB / 1.069 GB, free: 152.6 MB / 0.698 GB