Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 285.4 MB / 298 MB, free: 5.969 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.001236/0.001236, allocations: 168.9 kB / 366.4 MB, free: 2.09 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.553/1.553, allocations: 205.1 MB / 0.6248 GB, free: 7.707 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.0007936/0.0007937, allocations: 94.38 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3e-05, allocations: 0 / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6922, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.9156, allocations: 138.5 MB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.9159, allocations: 71.95 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0496/0.9655, allocations: 18.82 MB / 1.125 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9656, allocations: 0.6562 kB / 1.125 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9656, allocations: 4 kB / 1.125 GB, free: 10.43 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.0008802/0.9665, allocations: 0.593 MB / 1.125 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9666, allocations: 8.812 kB / 1.125 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.9666, allocations: 35.7 kB / 1.125 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.967, allocations: 244.5 kB / 1.125 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.967, allocations: 16.28 kB / 1.125 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.9671, allocations: 19.98 kB / 1.126 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.9677, allocations: 458.1 kB / 1.126 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.9677, allocations: 0 / 1.126 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.9677, allocations: 8.875 kB / 1.126 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9678, allocations: 4 kB / 1.126 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.9682, allocations: 323.7 kB / 1.126 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.9688, allocations: 0.5649 MB / 1.127 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.9699, allocations: 1.021 MB / 1.128 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.9707, allocations: 0.6577 MB / 1.128 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.9707, allocations: 6.906 kB / 1.128 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.9713, allocations: 463.6 kB / 1.129 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.9713, allocations: 7.938 kB / 1.129 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001031/0.9723, allocations: 0.7895 MB / 1.13 GB, free: 5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.9724, allocations: 140.5 kB / 1.13 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.9726, allocations: 220.9 kB / 1.13 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.9727, allocations: 41.69 kB / 1.13 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.9727, allocations: 124.9 kB / 1.13 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.868e-05/0.9728, allocations: 75.06 kB / 1.13 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.9729, allocations: 8 kB / 1.13 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.973, allocations: 346.8 kB / 1.131 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.9734, allocations: 328.7 kB / 1.131 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.9739, allocations: 418.5 kB / 1.131 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.9743, allocations: 358 kB / 1.132 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9743, allocations: 0 / 1.132 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001046/0.9754, allocations: 0.821 MB / 1.132 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.9754, allocations: 8 kB / 1.132 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9754, allocations: 3.938 kB / 1.132 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.9755, allocations: 11.94 kB / 1.132 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.9756, allocations: 39.89 kB / 1.133 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9757, allocations: 4 kB / 1.133 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.9759, allocations: 27.91 kB / 1.133 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.9762, allocations: 207.4 kB / 1.133 GB, free: 1.773 MB / 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.0001587/0.9764, allocations: 161.1 kB / 1.133 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.9764, allocations: 23.72 kB / 1.133 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.9765, allocations: 37.95 kB / 1.133 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.9765, allocations: 4 kB / 1.133 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.9765, allocations: 4 kB / 1.133 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.9765, allocations: 3.984 kB / 1.133 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.9787, allocations: 1.696 MB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.9787, allocations: 4 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.9787, allocations: 22.83 kB / 1.135 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.9788, allocations: 4 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.9788, allocations: 23.97 kB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.9788, allocations: 4 kB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9788, allocations: 7.938 kB / 1.135 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.9802, allocations: 1.138 MB / 1.136 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.9804, allocations: 104.7 kB / 1.136 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.9804, allocations: 15.95 kB / 1.136 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.9807, allocations: 8 kB / 1.136 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.9809, allocations: 54.73 kB / 1.136 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/0.9813, allocations: 222.1 kB / 1.136 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002233/0.9815, allocations: 173.4 kB / 1.136 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9815, allocations: 3.938 kB / 1.136 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006267/0.9821, allocations: 63.98 kB / 1.136 GB, free: 13.9 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.000347/0.9825, allocations: 130.3 kB / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.9836, allocations: 0.7336 MB / 1.137 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9837, allocations: 4 kB / 1.137 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.9842, allocations: 405.2 kB / 1.138 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.9857, allocations: 309.4 kB / 1.138 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.9871, allocations: 0.8665 MB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.9875, allocations: 0.7647 MB / 1.14 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003256/0.9879, allocations: 98.22 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.988, allocations: 67.38 kB / 1.14 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.988, allocations: 0 / 1.14 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.01321/1.001, allocations: 7.849 MB / 1.147 GB, free: 2.812 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)