Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.563/2.563, allocations: 284.8 MB / 297.3 MB, free: 6.324 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: 172.9 kB / 365.7 MB, free: 2.57 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.061/2.061, allocations: 205.2 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002079/0.002079, allocations: 97.92 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.062e-05, allocations: 8 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9084, allocations: 115.2 MB / 0.97 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/1.244, allocations: 137.4 MB / 1.104 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.244, allocations: 63.95 kB / 1.104 GB, free: 15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.103/1.347, allocations: 22.19 MB / 1.126 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/1.347, allocations: 2.719 kB / 1.126 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.625e-05/1.347, allocations: 4 kB / 1.126 GB, free: 8.875 MB / 0.7292 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.001479/1.349, allocations: 0.6074 MB / 1.126 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.349, allocations: 12.03 kB / 1.126 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.349, allocations: 23.72 kB / 1.126 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/1.35, allocations: 258.5 kB / 1.127 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/1.35, allocations: 8.812 kB / 1.127 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/1.35, allocations: 20.97 kB / 1.127 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/1.351, allocations: 459.3 kB / 1.127 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.351, allocations: 4 kB / 1.127 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/1.351, allocations: 4 kB / 1.127 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.351, allocations: 6.719 kB / 1.127 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/1.352, allocations: 318.7 kB / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/1.353, allocations: 0.5556 MB / 1.128 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/1.355, allocations: 1.031 MB / 1.129 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/1.356, allocations: 0.6567 MB / 1.13 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/1.356, allocations: 7.984 kB / 1.13 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009964/1.357, allocations: 470.2 kB / 1.13 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.906e-06/1.357, allocations: 6.25 kB / 1.13 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001827/1.359, allocations: 0.7798 MB / 1.131 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.359, allocations: 140.5 kB / 1.131 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/1.36, allocations: 221.1 kB / 1.131 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/1.36, allocations: 37.7 kB / 1.131 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/1.36, allocations: 120.9 kB / 1.131 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.36, allocations: 82.97 kB / 1.132 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/1.36, allocations: 12 kB / 1.132 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.36, allocations: 346.8 kB / 1.132 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/1.361, allocations: 324.7 kB / 1.132 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/1.362, allocations: 426.4 kB / 1.133 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/1.363, allocations: 364.7 kB / 1.133 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.363, allocations: 0 / 1.133 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001869/1.365, allocations: 0.821 MB / 1.134 GB, free: 492 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.365, allocations: 8 kB / 1.134 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.365, allocations: 4 kB / 1.134 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.365, allocations: 4 kB / 1.134 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/1.365, allocations: 39.91 kB / 1.134 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.365, allocations: 7.938 kB / 1.134 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/1.366, allocations: 23.83 kB / 1.134 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/1.366, allocations: 218.4 kB / 1.134 GB, free: 192 kB / 0.7292 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.0002481/1.367, allocations: 153.1 kB / 1.134 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/1.367, allocations: 23.72 kB / 1.134 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/1.367, allocations: 38.03 kB / 1.134 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.367, allocations: 8.656 kB / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.367, allocations: 0 / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.367, allocations: 0 / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/1.372, allocations: 1.703 MB / 1.136 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/1.372, allocations: 0 / 1.136 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.372, allocations: 19.97 kB / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/1.372, allocations: 3.938 kB / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/1.372, allocations: 29.31 kB / 1.136 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.372, allocations: 4 kB / 1.136 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.372, allocations: 0 / 1.136 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.374, allocations: 1.139 MB / 1.137 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.374, allocations: 108.7 kB / 1.137 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/1.374, allocations: 15.98 kB / 1.137 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/1.375, allocations: 6.938 kB / 1.137 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.375, allocations: 51.88 kB / 1.137 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004372/1.375, allocations: 223.5 kB / 1.137 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000271/1.376, allocations: 169.4 kB / 1.138 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.5e-07/1.376, allocations: 0 / 1.138 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007196/1.376, allocations: 60 kB / 1.138 GB, free: 12.34 MB / 0.7448 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.0002758/1.377, allocations: 148.1 kB / 1.138 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00166/1.378, allocations: 0.7322 MB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.378, allocations: 0 / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/1.379, allocations: 402.4 kB / 1.139 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.382, allocations: 371 kB / 1.139 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.384, allocations: 0.8665 MB / 1.14 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.385, allocations: 0.7686 MB / 1.141 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006331/1.386, allocations: 98.53 kB / 1.141 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.386, allocations: 67.38 kB / 1.141 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of SimCode: time 3.306e-06/1.386, allocations: 0 / 1.141 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.02224/1.408, allocations: 8.047 MB / 1.149 GB, free: 0.957 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe 2>&1)