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.647/1.647, allocations: 285.4 MB / 298 MB, free: 5.984 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.001205/0.001205, allocations: 180.3 kB / 366.4 MB, free: 2.102 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.745/1.745, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0007605/0.0007605, allocations: 98.11 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.492e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8406, allocations: 115.3 MB / 0.9709 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/1.057, allocations: 137.5 MB / 1.105 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.057, allocations: 75.88 kB / 1.105 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05648/1.114, allocations: 22.19 MB / 1.127 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.986e-06/1.114, allocations: 0 / 1.127 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.829e-05/1.114, allocations: 9.25 kB / 1.127 GB, free: 8.074 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.001376/1.115, allocations: 0.6093 MB / 1.128 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.115, allocations: 8.031 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/1.115, allocations: 23.72 kB / 1.128 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/1.116, allocations: 258.3 kB / 1.128 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/1.116, allocations: 12.28 kB / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/1.116, allocations: 16.53 kB / 1.128 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/1.117, allocations: 460.1 kB / 1.128 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.117, allocations: 0 / 1.128 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/1.117, allocations: 4 kB / 1.128 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.117, allocations: 4 kB / 1.128 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/1.117, allocations: 323 kB / 1.129 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/1.118, allocations: 0.5601 MB / 1.129 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/1.12, allocations: 1.031 MB / 1.13 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/1.12, allocations: 0.651 MB / 1.131 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/1.12, allocations: 4 kB / 1.131 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/1.121, allocations: 483.5 kB / 1.131 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.844e-06/1.121, allocations: 0 / 1.131 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001133/1.122, allocations: 0.7746 MB / 1.132 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.122, allocations: 144.5 kB / 1.132 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/1.123, allocations: 217.1 kB / 1.132 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/1.123, allocations: 45.64 kB / 1.132 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/1.123, allocations: 124.9 kB / 1.133 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.123, allocations: 79.05 kB / 1.133 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/1.123, allocations: 8 kB / 1.133 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.123, allocations: 342.8 kB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/1.123, allocations: 332.7 kB / 1.133 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/1.124, allocations: 418.5 kB / 1.134 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/1.124, allocations: 359.7 kB / 1.134 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.124, allocations: 9.969 kB / 1.134 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001095/1.125, allocations: 0.8216 MB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.125, allocations: 4.781 kB / 1.135 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.125, allocations: 4 kB / 1.135 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.126, allocations: 4.281 kB / 1.135 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/1.126, allocations: 39.91 kB / 1.135 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.126, allocations: 12 kB / 1.135 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/1.126, allocations: 27.83 kB / 1.135 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/1.126, allocations: 207.5 kB / 1.135 GB, free: 15.39 MB / 0.7448 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.0001626/1.126, allocations: 151 kB / 1.135 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/1.126, allocations: 27.72 kB / 1.135 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/1.127, allocations: 37.95 kB / 1.135 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.127, allocations: 4 kB / 1.135 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.127, allocations: 0 / 1.135 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.127, allocations: 4 kB / 1.135 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.129, allocations: 1.702 MB / 1.137 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.129, allocations: 0 / 1.137 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/1.129, allocations: 23.91 kB / 1.137 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/1.129, allocations: 7.938 kB / 1.137 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/1.129, allocations: 27.97 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.129, allocations: 0.8125 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.129, allocations: 2.906 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.13, allocations: 1.139 MB / 1.138 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/1.13, allocations: 104.7 kB / 1.138 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/1.13, allocations: 15.94 kB / 1.138 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.131, allocations: 7 kB / 1.138 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.131, allocations: 59.88 kB / 1.138 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.131, allocations: 223.5 kB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001689/1.131, allocations: 169.4 kB / 1.139 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.131, allocations: 0 / 1.139 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000546/1.132, allocations: 64 kB / 1.139 GB, free: 11.53 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.0002372/1.132, allocations: 138.3 kB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.133, allocations: 0.7351 MB / 1.14 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.133, allocations: 0 / 1.14 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/1.134, allocations: 399.7 kB / 1.14 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.135, allocations: 369 kB / 1.14 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.137, allocations: 0.8704 MB / 1.141 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/1.137, allocations: 0.7631 MB / 1.142 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003945/1.138, allocations: 101.3 kB / 1.142 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.138, allocations: 71.31 kB / 1.142 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/1.138, allocations: 0 / 1.142 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of Templates: time 0.01449/1.152, allocations: 8.035 MB / 1.15 GB, free: 200 kB / 0.7448 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)