Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.5 MB / 303.2 MB, free: 8.16 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.001279/0.001279, allocations: 170.6 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008851/0.0008851, allocations: 95.45 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006497, allocations: 10.97 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2199, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9322/1.152, allocations: 138.4 MB / 1.114 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.152, allocations: 75.34 kB / 1.115 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07471/1.227, allocations: 18.99 MB / 1.133 GB, free: 29.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.227, allocations: 0 / 1.133 GB, free: 29.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.227, allocations: 3.844 kB / 1.133 GB, free: 29.55 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.001246/1.229, allocations: 0.6193 MB / 1.134 GB, free: 28.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.229, allocations: 11.56 kB / 1.134 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/1.229, allocations: 35.56 kB / 1.134 GB, free: 28.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/1.229, allocations: 258.8 kB / 1.134 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/1.229, allocations: 15.22 kB / 1.134 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/1.229, allocations: 15.09 kB / 1.134 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/1.23, allocations: 463 kB / 1.134 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.23, allocations: 192 / 1.134 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.23, allocations: 11.09 kB / 1.134 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.23, allocations: 3.844 kB / 1.134 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/1.231, allocations: 322.2 kB / 1.135 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/1.231, allocations: 0.556 MB / 1.135 GB, free: 28.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.233, allocations: 1.028 MB / 1.136 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/1.234, allocations: 0.6581 MB / 1.137 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.234, allocations: 11.62 kB / 1.137 GB, free: 27.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/1.235, allocations: 475.2 kB / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/1.235, allocations: 0 / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002002/1.237, allocations: 1.112 MB / 1.139 GB, free: 27.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/1.237, allocations: 139.9 kB / 1.139 GB, free: 27.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/1.237, allocations: 256.2 kB / 1.139 GB, free: 27.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/1.237, allocations: 44.45 kB / 1.139 GB, free: 27.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/1.237, allocations: 123.6 kB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/1.238, allocations: 78.69 kB / 1.139 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/1.238, allocations: 10.59 kB / 1.139 GB, free: 26.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.238, allocations: 345.8 kB / 1.139 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/1.238, allocations: 328.8 kB / 1.14 GB, free: 26.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/1.239, allocations: 419.7 kB / 1.14 GB, free: 26.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.24, allocations: 0.7665 MB / 1.141 GB, free: 26.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.24, allocations: 4 kB / 1.141 GB, free: 26.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00143/1.242, allocations: 0.8337 MB / 1.142 GB, free: 25.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.242, allocations: 11.62 kB / 1.142 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.242, allocations: 4.156 kB / 1.142 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.242, allocations: 3.875 kB / 1.142 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.242, allocations: 38.47 kB / 1.142 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.242, allocations: 11.88 kB / 1.142 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/1.242, allocations: 18.58 kB / 1.142 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/1.243, allocations: 205.4 kB / 1.142 GB, free: 25.84 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.0003148/1.243, allocations: 202.8 kB / 1.142 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/1.243, allocations: 30.97 kB / 1.142 GB, free: 25.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.535e-05/1.243, allocations: 39.92 kB / 1.142 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.243, allocations: 3.812 kB / 1.142 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.243, allocations: 64 / 1.142 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.243, allocations: 7.844 kB / 1.142 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/1.246, allocations: 1.706 MB / 1.144 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.246, allocations: 0 / 1.144 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/1.246, allocations: 25.44 kB / 1.144 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.246, allocations: 4 kB / 1.144 GB, free: 24.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/1.246, allocations: 25.81 kB / 1.144 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.246, allocations: 0 / 1.144 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.246, allocations: 3.875 kB / 1.144 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.248, allocations: 1.107 MB / 1.145 GB, free: 24.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/1.248, allocations: 104.3 kB / 1.145 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/1.248, allocations: 15.52 kB / 1.145 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/1.248, allocations: 7.812 kB / 1.145 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.248, allocations: 50.59 kB / 1.145 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.249, allocations: 223.4 kB / 1.146 GB, free: 24.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002234/1.249, allocations: 176.6 kB / 1.146 GB, free: 24.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.249, allocations: 4 kB / 1.146 GB, free: 24.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006671/1.25, allocations: 59.88 kB / 1.146 GB, free: 24.02 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.000206/1.25, allocations: 133.5 kB / 1.146 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.251, allocations: 0.7398 MB / 1.147 GB, free: 23.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.251, allocations: 0 / 1.147 GB, free: 23.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/1.252, allocations: 409.7 kB / 1.147 GB, free: 23.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.254, allocations: 311.6 kB / 1.147 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/1.256, allocations: 1.024 MB / 1.148 GB, free: 23.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/1.257, allocations: 0.7523 MB / 1.149 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004566/1.257, allocations: 96.69 kB / 1.149 GB, free: 22.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.257, allocations: 71.81 kB / 1.149 GB, free: 22.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.183e-06/1.257, allocations: 0 / 1.149 GB, free: 22.43 MB / 0.698 GB Notification: Performance of Templates: time 0.01675/1.274, allocations: 7.843 MB / 1.157 GB, free: 17.33 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)