Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.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.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.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.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.246 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.001132/0.001132, allocations: 182.3 kB / 371.8 MB, free: 10.28 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.811/1.811, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008599, allocations: 94.59 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005017, allocations: 15.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2653, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.097, allocations: 137.6 MB / 1.114 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.097, allocations: 62.84 kB / 1.114 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04927/1.146, allocations: 22.25 MB / 1.136 GB, free: 28.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.146, allocations: 0 / 1.136 GB, free: 28.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.783e-05/1.146, allocations: 3.969 kB / 1.136 GB, free: 28.31 MB / 0.698 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.0009201/1.147, allocations: 0.6459 MB / 1.136 GB, free: 27.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.147, allocations: 15.52 kB / 1.136 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/1.147, allocations: 27.16 kB / 1.136 GB, free: 27.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/1.148, allocations: 255.9 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/1.148, allocations: 11.31 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/1.148, allocations: 17.84 kB / 1.137 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/1.149, allocations: 462.5 kB / 1.137 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.149, allocations: 0 / 1.137 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/1.149, allocations: 3.438 kB / 1.137 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.149, allocations: 7.969 kB / 1.137 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/1.149, allocations: 324.7 kB / 1.137 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/1.149, allocations: 0.5509 MB / 1.138 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/1.15, allocations: 1.042 MB / 1.139 GB, free: 26.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/1.15, allocations: 11.62 kB / 1.139 GB, free: 26.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/1.151, allocations: 483.5 kB / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/1.151, allocations: 0 / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001136/1.152, allocations: 1.1 MB / 1.14 GB, free: 26.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.152, allocations: 147.5 kB / 1.141 GB, free: 26.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/1.152, allocations: 228.3 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/1.152, allocations: 37.42 kB / 1.141 GB, free: 25.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/1.152, allocations: 120.6 kB / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/1.152, allocations: 80.33 kB / 1.141 GB, free: 25.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/1.152, allocations: 15.28 kB / 1.141 GB, free: 25.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.153, allocations: 339 kB / 1.141 GB, free: 25.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/1.153, allocations: 324.4 kB / 1.142 GB, free: 25.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/1.153, allocations: 426.6 kB / 1.142 GB, free: 25.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/1.154, allocations: 361.3 kB / 1.142 GB, free: 25.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.154, allocations: 0 / 1.142 GB, free: 25.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008529/1.155, allocations: 0.8279 MB / 1.143 GB, free: 25.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.155, allocations: 7.594 kB / 1.143 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.155, allocations: 3.844 kB / 1.143 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.155, allocations: 3.844 kB / 1.143 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.155, allocations: 45.05 kB / 1.143 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.155, allocations: 7.781 kB / 1.143 GB, free: 24.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.155, allocations: 14.56 kB / 1.143 GB, free: 24.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/1.155, allocations: 219.4 kB / 1.144 GB, free: 24.88 MB / 0.698 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.0001984/1.156, allocations: 194.3 kB / 1.144 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/1.156, allocations: 34.69 kB / 1.144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/1.156, allocations: 35.61 kB / 1.144 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.156, allocations: 3.812 kB / 1.144 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.156, allocations: 3.844 kB / 1.144 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.156, allocations: 0 / 1.144 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.158, allocations: 1.705 MB / 1.145 GB, free: 23.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.158, allocations: 0 / 1.145 GB, free: 23.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/1.158, allocations: 27.03 kB / 1.145 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.158, allocations: 3.656 kB / 1.145 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/1.158, allocations: 18.84 kB / 1.145 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.158, allocations: 3.688 kB / 1.145 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.158, allocations: 4 kB / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/1.159, allocations: 1.15 MB / 1.147 GB, free: 23.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/1.159, allocations: 100.4 kB / 1.147 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/1.159, allocations: 11.67 kB / 1.147 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/1.159, allocations: 14.89 kB / 1.147 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/1.159, allocations: 45.66 kB / 1.147 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.159, allocations: 226.5 kB / 1.147 GB, free: 23.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001385/1.159, allocations: 165.9 kB / 1.147 GB, free: 23.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.159, allocations: 0 / 1.147 GB, free: 23.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004803/1.16, allocations: 68.39 kB / 1.147 GB, free: 23.03 MB / 0.698 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.0001805/1.16, allocations: 140.8 kB / 1.147 GB, free: 22.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007752/1.161, allocations: 0.7369 MB / 1.148 GB, free: 22.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.161, allocations: 0 / 1.148 GB, free: 22.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/1.161, allocations: 415.1 kB / 1.148 GB, free: 22.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.163, allocations: 368.6 kB / 1.149 GB, free: 22.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.164, allocations: 1.016 MB / 1.15 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/1.164, allocations: 0.7621 MB / 1.151 GB, free: 21.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004656/1.165, allocations: 100.8 kB / 1.151 GB, free: 21.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/1.165, allocations: 64.88 kB / 1.151 GB, free: 21.41 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.165, allocations: 0 / 1.151 GB, free: 21.41 MB / 0.698 GB Notification: Performance of Templates: time 0.01106/1.176, allocations: 8.038 MB / 1.159 GB, free: 15.2 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe 2>&1)