Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.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.736/1.736, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001242/0.001242, allocations: 181 kB / 371.8 MB, free: 10.3 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.05/2.05, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001212/0.001212, allocations: 96.06 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 18.73 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.825/1.09, allocations: 138.6 MB / 1.115 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/1.091, allocations: 71.84 kB / 1.115 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04218/1.133, allocations: 18.88 MB / 1.133 GB, free: 29.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/1.133, allocations: 0 / 1.133 GB, free: 29.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.114e-05/1.133, allocations: 3.812 kB / 1.133 GB, free: 29.39 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.0009414/1.134, allocations: 0.6301 MB / 1.134 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.134, allocations: 11.67 kB / 1.134 GB, free: 28.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/1.134, allocations: 31.34 kB / 1.134 GB, free: 28.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.134, allocations: 254.8 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/1.135, allocations: 14.91 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/1.135, allocations: 19.27 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/1.135, allocations: 457.9 kB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.135, allocations: 3.875 kB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/1.135, allocations: 3.5 kB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.135, allocations: 3.594 kB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/1.135, allocations: 322.7 kB / 1.135 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/1.136, allocations: 0.5542 MB / 1.136 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/1.137, allocations: 1.039 MB / 1.137 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/1.137, allocations: 7.5 kB / 1.137 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/1.137, allocations: 479.3 kB / 1.137 GB, free: 27.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/1.137, allocations: 4 kB / 1.137 GB, free: 27.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001144/1.139, allocations: 1.103 MB / 1.138 GB, free: 27.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/1.139, allocations: 151.6 kB / 1.138 GB, free: 27.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/1.139, allocations: 220.1 kB / 1.138 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/1.139, allocations: 36.86 kB / 1.138 GB, free: 27.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/1.139, allocations: 128.9 kB / 1.139 GB, free: 26.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/1.139, allocations: 76.75 kB / 1.139 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/1.139, allocations: 7.469 kB / 1.139 GB, free: 26.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.139, allocations: 349.1 kB / 1.139 GB, free: 26.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/1.139, allocations: 326.7 kB / 1.139 GB, free: 26.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/1.14, allocations: 420.7 kB / 1.14 GB, free: 26.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/1.14, allocations: 363.2 kB / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.14, allocations: 0 / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007933/1.141, allocations: 0.8292 MB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.141, allocations: 11.66 kB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.141, allocations: 3.875 kB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.141, allocations: 3.844 kB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/1.141, allocations: 42.53 kB / 1.141 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.141, allocations: 11.84 kB / 1.141 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/1.141, allocations: 18.05 kB / 1.141 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/1.142, allocations: 210.5 kB / 1.141 GB, free: 25.98 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.0002009/1.142, allocations: 192.5 kB / 1.141 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/1.142, allocations: 30.84 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/1.142, allocations: 46.83 kB / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.142, allocations: 3.844 kB / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.142, allocations: 0 / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.142, allocations: 3.906 kB / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.144, allocations: 1.707 MB / 1.143 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.144, allocations: 0 / 1.143 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/1.144, allocations: 26.69 kB / 1.143 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.144, allocations: 3.625 kB / 1.143 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.144, allocations: 18.62 kB / 1.143 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.144, allocations: 0 / 1.143 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.144, allocations: 3.625 kB / 1.143 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/1.145, allocations: 1.145 MB / 1.144 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/1.145, allocations: 104.4 kB / 1.144 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/1.145, allocations: 15.22 kB / 1.144 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.145, allocations: 7.75 kB / 1.144 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/1.145, allocations: 53.03 kB / 1.144 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.145, allocations: 223.2 kB / 1.145 GB, free: 24.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001402/1.146, allocations: 169.2 kB / 1.145 GB, free: 24.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.146, allocations: 0 / 1.145 GB, free: 24.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004613/1.146, allocations: 63.84 kB / 1.145 GB, free: 24.13 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.0002068/1.146, allocations: 146.4 kB / 1.145 GB, free: 24.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008015/1.147, allocations: 0.7343 MB / 1.146 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.147, allocations: 0 / 1.146 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/1.147, allocations: 407.5 kB / 1.146 GB, free: 23.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.149, allocations: 307.4 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.15, allocations: 1.016 MB / 1.147 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/1.15, allocations: 0.7652 MB / 1.148 GB, free: 22.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002856/1.15, allocations: 101.4 kB / 1.148 GB, free: 22.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.151, allocations: 64.84 kB / 1.148 GB, free: 22.53 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/1.151, allocations: 0 / 1.148 GB, free: 22.53 MB / 0.698 GB Notification: Performance of Templates: time 0.01094/1.162, allocations: 7.834 MB / 1.156 GB, free: 17.33 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)