Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.2 MB / 0.626 GB, free: 7.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 86.53 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.813e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6266, allocations: 116.3 MB / 0.9732 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.8149, allocations: 138.8 MB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.8152, allocations: 72.48 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04858/0.8638, allocations: 18.72 MB / 1.127 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8639, allocations: 0.5312 kB / 1.127 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.413e-05/0.8639, allocations: 6.469 kB / 1.127 GB, free: 8.629 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.0009881/0.8649, allocations: 0.5997 MB / 1.128 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.8649, allocations: 8.031 kB / 1.128 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.8651, allocations: 23.72 kB / 1.128 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.8654, allocations: 251 kB / 1.128 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.8655, allocations: 8 kB / 1.128 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.8655, allocations: 13.31 kB / 1.128 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003986/0.8659, allocations: 309.1 kB / 1.128 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.8665, allocations: 440.1 kB / 1.129 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8665, allocations: 5.062 kB / 1.129 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.8665, allocations: 0 / 1.129 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8666, allocations: 4 kB / 1.129 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.8673, allocations: 0.5197 MB / 1.129 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.8684, allocations: 1.006 MB / 1.13 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/0.8691, allocations: 0.6411 MB / 1.131 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.8691, allocations: 4 kB / 1.131 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.8697, allocations: 466 kB / 1.131 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.8697, allocations: 0 / 1.131 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001017/0.8707, allocations: 0.7732 MB / 1.132 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.8708, allocations: 136.5 kB / 1.132 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.871, allocations: 220.4 kB / 1.132 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.8711, allocations: 31.67 kB / 1.132 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.8711, allocations: 124.9 kB / 1.133 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.8712, allocations: 75.08 kB / 1.133 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.8713, allocations: 0 / 1.133 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8714, allocations: 338.8 kB / 1.133 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.8717, allocations: 320.7 kB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.8722, allocations: 409.6 kB / 1.134 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.8726, allocations: 347.8 kB / 1.134 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8726, allocations: 3.938 kB / 1.134 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009944/0.8736, allocations: 0.7952 MB / 1.135 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8737, allocations: 4.938 kB / 1.135 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8737, allocations: 4 kB / 1.135 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8737, allocations: 4 kB / 1.135 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.8739, allocations: 43.84 kB / 1.135 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.8739, allocations: 4 kB / 1.135 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.8742, allocations: 11.92 kB / 1.135 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.8744, allocations: 211.6 kB / 1.135 GB, free: 236 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.0001485/0.8746, allocations: 146.4 kB / 1.135 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.8747, allocations: 39.58 kB / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.818e-05/0.8747, allocations: 33.95 kB / 1.135 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.8748, allocations: 4 kB / 1.135 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8748, allocations: 1.688 kB / 1.135 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8748, allocations: 0 / 1.135 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.8767, allocations: 1.641 MB / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8767, allocations: 0 / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.8768, allocations: 24.66 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.8768, allocations: 4 kB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.8768, allocations: 15.98 kB / 1.137 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.8769, allocations: 7.984 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8769, allocations: 4 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.878, allocations: 1.124 MB / 1.138 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.8781, allocations: 104.7 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.8781, allocations: 4 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.8784, allocations: 0 / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8785, allocations: 59.88 kB / 1.138 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/0.8787, allocations: 219.5 kB / 1.138 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001588/0.8789, allocations: 160.5 kB / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8789, allocations: 0 / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004838/0.8794, allocations: 59.98 kB / 1.139 GB, free: 12.5 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.0002001/0.8796, allocations: 133.6 kB / 1.139 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.8805, allocations: 0.7064 MB / 1.139 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8805, allocations: 4 kB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.881, allocations: 393.5 kB / 1.14 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.8826, allocations: 309.2 kB / 1.14 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.8838, allocations: 0.8403 MB / 1.141 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.8842, allocations: 0.7647 MB / 1.142 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003168/0.8845, allocations: 100.1 kB / 1.142 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.8847, allocations: 67.38 kB / 1.142 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.8847, allocations: 0 / 1.142 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.01339/0.8981, allocations: 7.488 MB / 1.149 GB, free: 1.816 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)