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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 293 MB / 309 MB, free: 4.836 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.001021/0.001021, allocations: 174.6 kB / 378.7 MB, free: 1.047 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.885/1.885, allocations: 205.4 MB / 0.6383 GB, free: 8.238 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.0007924/0.0007925, allocations: 94.16 kB / 0.7527 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 15.98 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.293, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7765/1.07, allocations: 139.7 MB / 1.127 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/1.07, allocations: 74.45 kB / 1.127 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04543/1.115, allocations: 18.99 MB / 1.145 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/1.115, allocations: 0 / 1.145 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.798e-05/1.115, allocations: 4 kB / 1.145 GB, free: 20.54 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.001132/1.116, allocations: 0.6216 MB / 1.146 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.117, allocations: 16.03 kB / 1.146 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/1.117, allocations: 29.27 kB / 1.146 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/1.117, allocations: 258.7 kB / 1.146 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/1.117, allocations: 17.36 kB / 1.146 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/1.117, allocations: 17.83 kB / 1.146 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/1.118, allocations: 457 kB / 1.147 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.118, allocations: 192 / 1.147 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.118, allocations: 12.73 kB / 1.147 GB, free: 19.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.118, allocations: 4 kB / 1.147 GB, free: 19.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/1.118, allocations: 323.2 kB / 1.147 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/1.119, allocations: 0.5558 MB / 1.148 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.12, allocations: 1.032 MB / 1.149 GB, free: 17.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/1.121, allocations: 0.6604 MB / 1.149 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/1.121, allocations: 8.562 kB / 1.149 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005742/1.122, allocations: 476.6 kB / 1.15 GB, free: 16.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/1.122, allocations: 0 / 1.15 GB, free: 16.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001386/1.123, allocations: 1.118 MB / 1.151 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/1.123, allocations: 141.7 kB / 1.151 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/1.123, allocations: 259 kB / 1.151 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/1.124, allocations: 33.7 kB / 1.151 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/1.124, allocations: 123.4 kB / 1.151 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/1.124, allocations: 79.34 kB / 1.151 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/1.124, allocations: 4 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/1.124, allocations: 345.1 kB / 1.152 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/1.124, allocations: 332.2 kB / 1.152 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/1.125, allocations: 424.2 kB / 1.153 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/1.125, allocations: 0.763 MB / 1.153 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.125, allocations: 4 kB / 1.153 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001007/1.126, allocations: 0.8263 MB / 1.154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.126, allocations: 7.938 kB / 1.154 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.126, allocations: 5.312 kB / 1.154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.126, allocations: 4 kB / 1.154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/1.127, allocations: 51.41 kB / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.127, allocations: 4.656 kB / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/1.127, allocations: 21.3 kB / 1.154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.127, allocations: 210.7 kB / 1.154 GB, free: 12.19 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 () * 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.000236/1.127, allocations: 198 kB / 1.155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/1.128, allocations: 36.77 kB / 1.155 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/1.128, allocations: 37.14 kB / 1.155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.128, allocations: 8 kB / 1.155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.128, allocations: 0 / 1.155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.128, allocations: 6.016 kB / 1.155 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/1.129, allocations: 1.705 MB / 1.156 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.129, allocations: 0.9375 kB / 1.156 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/1.13, allocations: 26.55 kB / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.13, allocations: 4 kB / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/1.13, allocations: 22.56 kB / 1.156 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.13, allocations: 4.797 kB / 1.156 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.13, allocations: 0 / 1.156 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/1.131, allocations: 1.112 MB / 1.157 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/1.131, allocations: 100.7 kB / 1.158 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/1.131, allocations: 13.64 kB / 1.158 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.131, allocations: 10 kB / 1.158 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/1.131, allocations: 50.75 kB / 1.158 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.131, allocations: 219.2 kB / 1.158 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001544/1.131, allocations: 171.8 kB / 1.158 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 4 kB / 1.158 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005314/1.132, allocations: 65.78 kB / 1.158 GB, free: 8.824 MB / 0.7292 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.0001586/1.132, allocations: 130.5 kB / 1.158 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008427/1.133, allocations: 0.7383 MB / 1.159 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.133, allocations: 3.938 kB / 1.159 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004537/1.133, allocations: 417.9 kB / 1.159 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.135, allocations: 309.6 kB / 1.16 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.136, allocations: 1.016 MB / 1.161 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.137, allocations: 0.7527 MB / 1.161 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004014/1.137, allocations: 96.05 kB / 1.161 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.137, allocations: 69.69 kB / 1.161 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/1.137, allocations: 0 / 1.161 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of Templates: time 0.0117/1.149, allocations: 7.948 MB / 1.169 GB, free: 14.23 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)