Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.109/2.109, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 194.7 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 93.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007344/0.0007347, allocations: 8.125 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2584, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.4906, allocations: 132.1 MB / 1.029 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4909, allocations: 75.95 kB / 1.029 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08509/0.576, allocations: 18.99 MB / 1.047 GB, free: 10.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5761, allocations: 0 / 1.047 GB, free: 10.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.5761, allocations: 8 kB / 1.047 GB, free: 10.15 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.001411/0.5776, allocations: 0.6239 MB / 1.048 GB, free: 9.445 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5776, allocations: 12.03 kB / 1.048 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.5777, allocations: 28.66 kB / 1.048 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.5782, allocations: 251 kB / 1.048 GB, free: 9.125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.5782, allocations: 12.66 kB / 1.048 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.5783, allocations: 20.38 kB / 1.048 GB, free: 9.094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.5793, allocations: 459.3 kB / 1.048 GB, free: 8.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5793, allocations: 4.188 kB / 1.048 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.5793, allocations: 15.88 kB / 1.049 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.5794, allocations: 0 / 1.049 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.58, allocations: 327.8 kB / 1.049 GB, free: 8.289 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.5809, allocations: 0.5508 MB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.5829, allocations: 1.035 MB / 1.05 GB, free: 6.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.5842, allocations: 0.6528 MB / 1.051 GB, free: 5.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.5843, allocations: 12 kB / 1.051 GB, free: 5.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/0.5852, allocations: 482.2 kB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/0.5852, allocations: 0 / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002404/0.5876, allocations: 1.106 MB / 1.053 GB, free: 4.324 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.5877, allocations: 140.5 kB / 1.053 GB, free: 4.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.5881, allocations: 256.8 kB / 1.053 GB, free: 3.898 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.5882, allocations: 37.7 kB / 1.053 GB, free: 3.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5883, allocations: 121.1 kB / 1.053 GB, free: 3.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5884, allocations: 79.05 kB / 1.053 GB, free: 3.652 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.5885, allocations: 8 kB / 1.053 GB, free: 3.645 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5886, allocations: 342.8 kB / 1.053 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.5893, allocations: 332.7 kB / 1.054 GB, free: 2.973 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.5901, allocations: 422.4 kB / 1.054 GB, free: 2.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.5909, allocations: 360.7 kB / 1.055 GB, free: 2.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5909, allocations: 0 / 1.055 GB, free: 2.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002719/0.5936, allocations: 0.829 MB / 1.055 GB, free: 1.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.5937, allocations: 9.5 kB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5937, allocations: 4 kB / 1.055 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.5937, allocations: 4 kB / 1.055 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.594, allocations: 48.41 kB / 1.055 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.594, allocations: 12.12 kB / 1.055 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.5945, allocations: 19.89 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/0.5949, allocations: 207.6 kB / 1.056 GB, free: 1.043 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.0003694/0.5953, allocations: 195.1 kB / 1.056 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.5954, allocations: 31.56 kB / 1.056 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.5955, allocations: 38.17 kB / 1.056 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5955, allocations: 8 kB / 1.056 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5955, allocations: 0 / 1.056 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5955, allocations: 3.938 kB / 1.056 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6349/1.23, allocations: 1.693 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.231, allocations: 3.031 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/1.231, allocations: 25.02 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.231, allocations: 3.125 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/1.231, allocations: 31.36 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.231, allocations: 0 / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.231, allocations: 3.875 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.232, allocations: 1.116 MB / 1.059 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/1.232, allocations: 98.64 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/1.232, allocations: 12.81 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/1.233, allocations: 9.703 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.233, allocations: 52.45 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003718/1.233, allocations: 224.8 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002322/1.234, allocations: 172.9 kB / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.234, allocations: 0 / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006643/1.234, allocations: 68.77 kB / 1.059 GB, free: 154.2 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.0002102/1.234, allocations: 135.3 kB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.236, allocations: 0.7299 MB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.236, allocations: 1.75 kB / 1.06 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/1.237, allocations: 415.1 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.239, allocations: 314.7 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/1.242, allocations: 1.018 MB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.242, allocations: 0.7619 MB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005572/1.242, allocations: 98.62 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.243, allocations: 68.03 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.243, allocations: 0 / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02422/1.267, allocations: 7.838 MB / 1.07 GB, free: 152.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)