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.342/2.342, allocations: 252.6 MB / 265.2 MB, free: 5.613 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 175.9 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.00113/0.001129, allocations: 86.69 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.24e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9365/1.148, allocations: 132 MB / 1.024 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.149, allocations: 72.33 kB / 1.024 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08729/1.236, allocations: 18.82 MB / 1.042 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/1.236, allocations: 0 / 1.042 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.591e-05/1.236, allocations: 12 kB / 1.042 GB, free: 2.879 MB / 0.6511 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.001331/1.237, allocations: 0.5978 MB / 1.043 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.237, allocations: 15.97 kB / 1.043 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/1.237, allocations: 27.67 kB / 1.043 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/1.238, allocations: 244.6 kB / 1.043 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/1.238, allocations: 15.03 kB / 1.043 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/1.238, allocations: 25.36 kB / 1.043 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009258/1.239, allocations: 447.3 kB / 1.044 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.239, allocations: 0 / 1.044 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.239, allocations: 6.859 kB / 1.044 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.239, allocations: 7.938 kB / 1.044 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/1.24, allocations: 325 kB / 1.044 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/1.241, allocations: 0.5514 MB / 1.044 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/1.243, allocations: 1.026 MB / 1.045 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.244, allocations: 0.6442 MB / 1.046 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/1.244, allocations: 20.27 kB / 1.046 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/1.245, allocations: 483.8 kB / 1.047 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.216e-06/1.245, allocations: 0 / 1.047 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001815/1.247, allocations: 0.7822 MB / 1.047 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.247, allocations: 148 kB / 1.047 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/1.247, allocations: 228.9 kB / 1.048 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/1.248, allocations: 36.77 kB / 1.048 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/1.248, allocations: 123.8 kB / 1.048 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.248, allocations: 77.55 kB / 1.048 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/1.248, allocations: 5.875 kB / 1.048 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.248, allocations: 348.4 kB / 1.048 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/1.249, allocations: 324.2 kB / 1.049 GB, free: 13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/1.25, allocations: 421.9 kB / 1.049 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/1.25, allocations: 358.2 kB / 1.049 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.25, allocations: 4 kB / 1.049 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001842/1.252, allocations: 0.8135 MB / 1.05 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.252, allocations: 8.125 kB / 1.05 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.252, allocations: 4 kB / 1.05 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/1.252, allocations: 4 kB / 1.05 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/1.253, allocations: 49.64 kB / 1.05 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/1.253, allocations: 4 kB / 1.05 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/1.253, allocations: 26.84 kB / 1.05 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/1.254, allocations: 215.5 kB / 1.05 GB, free: 11.36 MB / 0.6667 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 () * 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.0002406/1.254, allocations: 150.2 kB / 1.051 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/1.254, allocations: 34.8 kB / 1.051 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/1.254, allocations: 37.78 kB / 1.051 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.254, allocations: 4 kB / 1.051 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.254, allocations: 0 / 1.051 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.254, allocations: 7.984 kB / 1.051 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/1.258, allocations: 1.692 MB / 1.052 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.258, allocations: 0 / 1.052 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/1.258, allocations: 19.92 kB / 1.052 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.258, allocations: 4 kB / 1.052 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/1.258, allocations: 22.59 kB / 1.052 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.258, allocations: 0 / 1.052 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.258, allocations: 7.953 kB / 1.052 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.26, allocations: 1.154 MB / 1.053 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.26, allocations: 104.8 kB / 1.054 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/1.26, allocations: 9.938 kB / 1.054 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/1.26, allocations: 6.812 kB / 1.054 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.261, allocations: 50.67 kB / 1.054 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004435/1.261, allocations: 222.7 kB / 1.054 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002832/1.261, allocations: 165.7 kB / 1.054 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.261, allocations: 7.938 kB / 1.054 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007192/1.262, allocations: 72.05 kB / 1.054 GB, free: 7.922 MB / 0.6667 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) * 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.0002833/1.262, allocations: 134.7 kB / 1.054 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001635/1.264, allocations: 0.7404 MB / 1.055 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.264, allocations: 0 / 1.055 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/1.265, allocations: 402.3 kB / 1.055 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.268, allocations: 320.3 kB / 1.056 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/1.27, allocations: 0.8627 MB / 1.056 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/1.27, allocations: 0.7617 MB / 1.057 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007093/1.271, allocations: 106.9 kB / 1.057 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.271, allocations: 66.25 kB / 1.057 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/1.271, allocations: 0 / 1.057 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of Templates: time 0.02263/1.294, allocations: 7.842 MB / 1.065 GB, free: 13.11 MB / 0.6823 GB