Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.787/2.787, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 189 kB / 371 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.6297 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 90.91 kB / 0.743 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006244, allocations: 14.34 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2183, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9678/1.186, allocations: 138.4 MB / 1.114 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/1.187, allocations: 79.02 kB / 1.114 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07806/1.265, allocations: 18.88 MB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.265, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.415e-05/1.265, allocations: 3.844 kB / 1.132 GB, free: 29.43 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.001386/1.266, allocations: 0.6272 MB / 1.133 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.266, allocations: 11.67 kB / 1.133 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/1.266, allocations: 31.16 kB / 1.133 GB, free: 28.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/1.267, allocations: 257.9 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/1.267, allocations: 11.28 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/1.267, allocations: 17.78 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/1.268, allocations: 462.4 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.268, allocations: 3.875 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/1.268, allocations: 3 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.268, allocations: 7.797 kB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/1.268, allocations: 321.9 kB / 1.134 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/1.269, allocations: 0.5612 MB / 1.134 GB, free: 28.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.271, allocations: 1.032 MB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/1.271, allocations: 3.656 kB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007779/1.272, allocations: 478.7 kB / 1.136 GB, free: 27.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/1.272, allocations: 3.938 kB / 1.136 GB, free: 27.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002033/1.274, allocations: 1.103 MB / 1.137 GB, free: 27.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.274, allocations: 151.3 kB / 1.137 GB, free: 27.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/1.274, allocations: 227.6 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/1.274, allocations: 35.39 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/1.274, allocations: 121.1 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/1.275, allocations: 79.44 kB / 1.137 GB, free: 26.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/1.275, allocations: 11 kB / 1.137 GB, free: 26.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.275, allocations: 341.2 kB / 1.138 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/1.275, allocations: 337.1 kB / 1.138 GB, free: 26.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/1.276, allocations: 411.5 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/1.277, allocations: 363.1 kB / 1.139 GB, free: 26.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.277, allocations: 0 / 1.139 GB, free: 26.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001453/1.278, allocations: 0.8337 MB / 1.14 GB, free: 26.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.278, allocations: 7.531 kB / 1.14 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.278, allocations: 7.969 kB / 1.14 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.278, allocations: 3.844 kB / 1.14 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/1.278, allocations: 46.52 kB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.278, allocations: 7.781 kB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/1.279, allocations: 14.88 kB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/1.279, allocations: 213.5 kB / 1.14 GB, free: 26.02 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.0003326/1.28, allocations: 187.2 kB / 1.14 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/1.28, allocations: 31.12 kB / 1.14 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/1.28, allocations: 38.52 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.28, allocations: 7.812 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.28, allocations: 0 / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.28, allocations: 3.781 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/1.283, allocations: 1.71 MB / 1.142 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/1.283, allocations: 3.984 kB / 1.142 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/1.283, allocations: 26.12 kB / 1.142 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.283, allocations: 3.719 kB / 1.142 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/1.283, allocations: 22.25 kB / 1.142 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.283, allocations: 4.234 kB / 1.142 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.283, allocations: 0 / 1.142 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.284, allocations: 1.142 MB / 1.143 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/1.284, allocations: 107.4 kB / 1.143 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/1.284, allocations: 6.906 kB / 1.143 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/1.285, allocations: 18.23 kB / 1.143 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.285, allocations: 48.59 kB / 1.143 GB, free: 24.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003323/1.285, allocations: 223.4 kB / 1.143 GB, free: 24.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002446/1.286, allocations: 167.8 kB / 1.144 GB, free: 24.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.286, allocations: 0 / 1.144 GB, free: 24.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007087/1.286, allocations: 72.67 kB / 1.144 GB, free: 24.16 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.0002266/1.287, allocations: 137.8 kB / 1.144 GB, free: 24.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.288, allocations: 0.7317 MB / 1.145 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.288, allocations: 0 / 1.145 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/1.289, allocations: 405.5 kB / 1.145 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.292, allocations: 306.2 kB / 1.145 GB, free: 23.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/1.295, allocations: 1.027 MB / 1.146 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/1.295, allocations: 0.7629 MB / 1.147 GB, free: 22.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005315/1.296, allocations: 95.91 kB / 1.147 GB, free: 22.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/1.296, allocations: 72.84 kB / 1.147 GB, free: 22.56 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.296, allocations: 0 / 1.147 GB, free: 22.56 MB / 0.698 GB Notification: Performance of Templates: time 0.01809/1.314, allocations: 7.829 MB / 1.155 GB, free: 18.18 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)