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.638/1.638, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.001398/0.001398, allocations: 176.3 kB / 372.9 MB, free: 10.17 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.764/1.764, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0008865/0.0008866, allocations: 93.17 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004036, allocations: 10.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 115.3 MB / 0.9807 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7511/0.9887, allocations: 138.6 MB / 1.116 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.989, allocations: 74.33 kB / 1.116 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04177/1.031, allocations: 19 MB / 1.135 GB, free: 29.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.031, allocations: 3.688 kB / 1.135 GB, free: 29.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.157e-05/1.031, allocations: 3.844 kB / 1.135 GB, free: 29.34 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.001094/1.032, allocations: 0.623 MB / 1.135 GB, free: 28.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.032, allocations: 11.5 kB / 1.135 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/1.032, allocations: 28.09 kB / 1.135 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/1.032, allocations: 259.4 kB / 1.136 GB, free: 28.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/1.032, allocations: 16 kB / 1.136 GB, free: 28.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/1.032, allocations: 19.64 kB / 1.136 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/1.033, allocations: 455.9 kB / 1.136 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.033, allocations: 192 / 1.136 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/1.033, allocations: 15.09 kB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.033, allocations: 3.875 kB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/1.033, allocations: 319 kB / 1.136 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/1.034, allocations: 0.5533 MB / 1.137 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/1.035, allocations: 1.033 MB / 1.138 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/1.035, allocations: 0.665 MB / 1.139 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/1.035, allocations: 3.906 kB / 1.139 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/1.036, allocations: 479.1 kB / 1.139 GB, free: 27.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.472e-06/1.036, allocations: 0 / 1.139 GB, free: 27.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001132/1.037, allocations: 1.12 MB / 1.14 GB, free: 27.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/1.037, allocations: 140.2 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.037, allocations: 251.7 kB / 1.141 GB, free: 26.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/1.037, allocations: 38.05 kB / 1.141 GB, free: 26.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.037, allocations: 125.1 kB / 1.141 GB, free: 26.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/1.037, allocations: 80.41 kB / 1.141 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/1.037, allocations: 7.062 kB / 1.141 GB, free: 26.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.038, allocations: 348.1 kB / 1.141 GB, free: 26.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.038, allocations: 326.7 kB / 1.141 GB, free: 26.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/1.038, allocations: 425.9 kB / 1.142 GB, free: 26.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/1.039, allocations: 0.7581 MB / 1.143 GB, free: 25.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.039, allocations: 0 / 1.143 GB, free: 25.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008311/1.04, allocations: 0.8341 MB / 1.143 GB, free: 25.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.04, allocations: 7.719 kB / 1.143 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.04, allocations: 7.969 kB / 1.143 GB, free: 25.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.04, allocations: 3.781 kB / 1.143 GB, free: 25.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.04, allocations: 46.14 kB / 1.143 GB, free: 25.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.04, allocations: 11.62 kB / 1.143 GB, free: 25.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.04, allocations: 11.06 kB / 1.143 GB, free: 25.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/1.041, allocations: 211.2 kB / 1.144 GB, free: 25.64 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.0002169/1.041, allocations: 202.8 kB / 1.144 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/1.041, allocations: 35.23 kB / 1.144 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/1.041, allocations: 34.09 kB / 1.144 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.041, allocations: 11.69 kB / 1.144 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.041, allocations: 3.938 kB / 1.144 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.041, allocations: 7.969 kB / 1.144 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.043, allocations: 1.697 MB / 1.146 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.043, allocations: 3.875 kB / 1.146 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/1.043, allocations: 19.14 kB / 1.146 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.043, allocations: 3.812 kB / 1.146 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.043, allocations: 23.06 kB / 1.146 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.043, allocations: 3.781 kB / 1.146 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.043, allocations: 3.938 kB / 1.146 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/1.044, allocations: 1.112 MB / 1.147 GB, free: 24.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/1.044, allocations: 100.5 kB / 1.147 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/1.044, allocations: 7.281 kB / 1.147 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/1.044, allocations: 11.25 kB / 1.147 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/1.044, allocations: 53.23 kB / 1.147 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.044, allocations: 222.5 kB / 1.147 GB, free: 23.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001325/1.045, allocations: 172.7 kB / 1.147 GB, free: 23.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/1.045, allocations: 0 / 1.147 GB, free: 23.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004543/1.045, allocations: 66.41 kB / 1.147 GB, free: 23.83 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.0001753/1.045, allocations: 128.5 kB / 1.147 GB, free: 23.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007986/1.046, allocations: 0.744 MB / 1.148 GB, free: 23.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.046, allocations: 0 / 1.148 GB, free: 23.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/1.046, allocations: 408.2 kB / 1.149 GB, free: 23.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.048, allocations: 314.1 kB / 1.149 GB, free: 23.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.049, allocations: 1.015 MB / 1.15 GB, free: 23.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.049, allocations: 0.7545 MB / 1.151 GB, free: 22.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002279/1.05, allocations: 96.92 kB / 1.151 GB, free: 22.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/1.05, allocations: 69.03 kB / 1.151 GB, free: 22.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.05, allocations: 0 / 1.151 GB, free: 22.24 MB / 0.698 GB Notification: Performance of Templates: time 0.00943/1.059, allocations: 7.957 MB / 1.159 GB, free: 15.91 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)