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.72/1.72, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001074/0.001074, allocations: 181.7 kB / 371.6 MB, free: 3.406 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.833/1.833, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009701/0.0009699, allocations: 89.92 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.051e-05, allocations: 0 / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2944, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.831/1.125, allocations: 139.5 MB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.126, allocations: 71.08 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0408/1.167, allocations: 18.81 MB / 1.134 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/1.167, allocations: 4 kB / 1.134 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.167, allocations: 4 kB / 1.134 GB, free: 33.94 MB / 0.7448 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.0008435/1.167, allocations: 0.6002 MB / 1.135 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.167, allocations: 8.031 kB / 1.135 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/1.168, allocations: 29.34 kB / 1.135 GB, free: 33.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/1.168, allocations: 247 kB / 1.135 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/1.168, allocations: 19.53 kB / 1.135 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/1.168, allocations: 21.75 kB / 1.135 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/1.168, allocations: 456.4 kB / 1.136 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.168, allocations: 0 / 1.136 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/1.168, allocations: 10.67 kB / 1.136 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.169, allocations: 3.938 kB / 1.136 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/1.169, allocations: 328.3 kB / 1.136 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/1.169, allocations: 0.5524 MB / 1.137 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/1.17, allocations: 1.026 MB / 1.138 GB, free: 31.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/1.171, allocations: 0.6455 MB / 1.138 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/1.171, allocations: 13.11 kB / 1.138 GB, free: 30.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/1.172, allocations: 469 kB / 1.139 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/1.172, allocations: 0 / 1.139 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0009961/1.173, allocations: 0.7802 MB / 1.14 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/1.173, allocations: 145.2 kB / 1.14 GB, free: 29.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.173, allocations: 227.7 kB / 1.14 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.173, allocations: 40.83 kB / 1.14 GB, free: 29.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/1.173, allocations: 121.8 kB / 1.14 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/1.173, allocations: 82.11 kB / 1.14 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/1.173, allocations: 7.5 kB / 1.14 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/1.173, allocations: 345.9 kB / 1.14 GB, free: 29.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/1.174, allocations: 324 kB / 1.141 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/1.174, allocations: 417.5 kB / 1.141 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/1.174, allocations: 364.7 kB / 1.141 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.174, allocations: 4 kB / 1.141 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000901/1.175, allocations: 0.822 MB / 1.142 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.175, allocations: 4 kB / 1.142 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.175, allocations: 4 kB / 1.142 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.175, allocations: 4 kB / 1.142 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.176, allocations: 44.77 kB / 1.142 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.176, allocations: 12.33 kB / 1.142 GB, free: 27.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.176, allocations: 18.75 kB / 1.142 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/1.176, allocations: 204.7 kB / 1.143 GB, free: 27.51 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.0001195/1.176, allocations: 162.9 kB / 1.143 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/1.176, allocations: 28.33 kB / 1.143 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/1.176, allocations: 36.94 kB / 1.143 GB, free: 27.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.176, allocations: 4 kB / 1.143 GB, free: 27.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.176, allocations: 3.938 kB / 1.143 GB, free: 27.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.176, allocations: 6.062 kB / 1.143 GB, free: 27.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/1.178, allocations: 1.694 MB / 1.144 GB, free: 26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.178, allocations: 4 kB / 1.144 GB, free: 26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/1.178, allocations: 22.38 kB / 1.144 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.178, allocations: 9.312 kB / 1.144 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/1.178, allocations: 17.92 kB / 1.145 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.178, allocations: 1.875 kB / 1.145 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.178, allocations: 4.75 kB / 1.145 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/1.179, allocations: 1.15 MB / 1.146 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/1.179, allocations: 105.3 kB / 1.146 GB, free: 24.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/1.179, allocations: 16.7 kB / 1.146 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/1.18, allocations: 12.12 kB / 1.146 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.18, allocations: 53.75 kB / 1.146 GB, free: 24.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/1.18, allocations: 218.5 kB / 1.146 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001409/1.18, allocations: 170.7 kB / 1.146 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.18, allocations: 0 / 1.146 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004293/1.181, allocations: 63.16 kB / 1.146 GB, free: 24.57 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.0001458/1.181, allocations: 133.4 kB / 1.146 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008019/1.182, allocations: 0.7302 MB / 1.147 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.182, allocations: 4.062 kB / 1.147 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/1.182, allocations: 412.4 kB / 1.147 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.183, allocations: 301.9 kB / 1.148 GB, free: 23.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.184, allocations: 0.868 MB / 1.149 GB, free: 22.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/1.185, allocations: 0.758 MB / 1.149 GB, free: 22.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002869/1.185, allocations: 102.2 kB / 1.149 GB, free: 21.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.185, allocations: 71.38 kB / 1.15 GB, free: 21.94 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.185, allocations: 0 / 1.15 GB, free: 21.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.01303/1.198, allocations: 7.845 MB / 1.157 GB, free: 17.6 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)