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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001178/0.001179, allocations: 202.4 kB / 377.1 MB, free: 1.5 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.767/1.767, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.00107/0.00107, allocations: 96.47 kB / 0.751 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 11.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8598/1.182, allocations: 139.6 MB / 1.125 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.183, allocations: 74.64 kB / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04855/1.231, allocations: 18.88 MB / 1.143 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.393e-06/1.231, allocations: 0 / 1.143 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.231, allocations: 4 kB / 1.143 GB, free: 21.46 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.001059/1.232, allocations: 0.6261 MB / 1.144 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/1.232, allocations: 12.02 kB / 1.144 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.233, allocations: 30.44 kB / 1.144 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/1.233, allocations: 257.2 kB / 1.144 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/1.233, allocations: 20.36 kB / 1.144 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.233, allocations: 20.66 kB / 1.144 GB, free: 20.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/1.234, allocations: 452.5 kB / 1.145 GB, free: 20.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-05/1.234, allocations: 3.938 kB / 1.145 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/1.234, allocations: 9.312 kB / 1.145 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.234, allocations: 4 kB / 1.145 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/1.235, allocations: 319.6 kB / 1.145 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/1.235, allocations: 0.5605 MB / 1.145 GB, free: 19.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.237, allocations: 1.031 MB / 1.146 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/1.237, allocations: 4.688 kB / 1.146 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/1.238, allocations: 480.5 kB / 1.147 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/1.238, allocations: 0 / 1.147 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001633/1.239, allocations: 1.11 MB / 1.148 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/1.239, allocations: 142.9 kB / 1.148 GB, free: 16.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/1.24, allocations: 229 kB / 1.148 GB, free: 16.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.24, allocations: 38.41 kB / 1.148 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/1.24, allocations: 122.3 kB / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/1.24, allocations: 79.38 kB / 1.149 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/1.24, allocations: 4 kB / 1.149 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.24, allocations: 344.7 kB / 1.149 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/1.241, allocations: 329 kB / 1.149 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/1.241, allocations: 420.6 kB / 1.15 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/1.241, allocations: 364.6 kB / 1.15 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.242, allocations: 4 kB / 1.15 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009672/1.242, allocations: 0.8292 MB / 1.151 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.243, allocations: 11.94 kB / 1.151 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.243, allocations: 5.938 kB / 1.151 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.243, allocations: 8.938 kB / 1.151 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/1.243, allocations: 36.98 kB / 1.151 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.243, allocations: 9.406 kB / 1.151 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/1.243, allocations: 13.31 kB / 1.151 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/1.243, allocations: 215 kB / 1.151 GB, free: 14.14 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.000203/1.243, allocations: 192.9 kB / 1.151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/1.244, allocations: 29.22 kB / 1.151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/1.244, allocations: 41.27 kB / 1.151 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.244, allocations: 7.984 kB / 1.151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.244, allocations: 4.656 kB / 1.151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/1.244, allocations: 5.688 kB / 1.151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.246, allocations: 1.696 MB / 1.153 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.246, allocations: 7.938 kB / 1.153 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/1.246, allocations: 22.52 kB / 1.153 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.246, allocations: 1.266 kB / 1.153 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/1.246, allocations: 26.61 kB / 1.153 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.246, allocations: 0.8438 kB / 1.153 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.246, allocations: 5.672 kB / 1.153 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.247, allocations: 1.144 MB / 1.154 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/1.247, allocations: 102.1 kB / 1.154 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/1.247, allocations: 13.41 kB / 1.154 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/1.247, allocations: 10.92 kB / 1.154 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.247, allocations: 48.59 kB / 1.154 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003558/1.248, allocations: 224.5 kB / 1.155 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001709/1.248, allocations: 176.2 kB / 1.155 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 0.5625 kB / 1.155 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004582/1.248, allocations: 64.75 kB / 1.155 GB, free: 10.72 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.0001782/1.249, allocations: 139.7 kB / 1.155 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008806/1.25, allocations: 0.73 MB / 1.156 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.25, allocations: 0 / 1.156 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/1.25, allocations: 405.9 kB / 1.156 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.251, allocations: 312.1 kB / 1.156 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/1.253, allocations: 1.013 MB / 1.157 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/1.253, allocations: 0.7664 MB / 1.158 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003234/1.254, allocations: 101.9 kB / 1.158 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.254, allocations: 66.44 kB / 1.158 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.254, allocations: 0 / 1.158 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of Templates: time 0.01084/1.265, allocations: 7.84 MB / 1.166 GB, free: 0.6484 MB / 0.7292 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)