Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.9 MB, free: 10.92 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.001089/0.001089, allocations: 185 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.5785 GB, free: 20.25 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.0007719/0.000772, allocations: 85.34 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 14.28 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 106.3 MB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.3229, allocations: 132.3 MB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3232, allocations: 79.95 kB / 1.031 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04689/0.3701, allocations: 18.98 MB / 1.049 GB, free: 8.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3702, allocations: 4 kB / 1.049 GB, free: 8.168 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.3702, allocations: 8 kB / 1.049 GB, free: 8.16 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.0009889/0.3712, allocations: 0.6295 MB / 1.05 GB, free: 7.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3713, allocations: 8.031 kB / 1.05 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.3714, allocations: 28.64 kB / 1.05 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3717, allocations: 258.9 kB / 1.05 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.3717, allocations: 20.64 kB / 1.05 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.3718, allocations: 16.38 kB / 1.05 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.3724, allocations: 463.2 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3724, allocations: 192 / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3724, allocations: 11.92 kB / 1.05 GB, free: 6.613 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3724, allocations: 4 kB / 1.05 GB, free: 6.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3728, allocations: 319.8 kB / 1.051 GB, free: 6.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.3735, allocations: 0.5625 MB / 1.051 GB, free: 5.676 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3746, allocations: 1.019 MB / 1.052 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.3753, allocations: 0.6632 MB / 1.053 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3753, allocations: 7.984 kB / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/0.3759, allocations: 494 kB / 1.053 GB, free: 3.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.3759, allocations: 3.938 kB / 1.053 GB, free: 3.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001373/0.3773, allocations: 1.109 MB / 1.055 GB, free: 2.312 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.3774, allocations: 148.4 kB / 1.055 GB, free: 2.137 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3776, allocations: 244.9 kB / 1.055 GB, free: 1.891 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3777, allocations: 41.69 kB / 1.055 GB, free: 1.844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.3778, allocations: 125 kB / 1.055 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.3778, allocations: 82.98 kB / 1.055 GB, free: 1.633 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.3779, allocations: 8 kB / 1.055 GB, free: 1.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.378, allocations: 342.8 kB / 1.055 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3784, allocations: 328.7 kB / 1.056 GB, free: 0.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.3788, allocations: 426.5 kB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3661/0.7449, allocations: 0.7549 MB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.7449, allocations: 0.6562 kB / 1.057 GB, free: 153.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001199/0.7461, allocations: 0.8242 MB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7462, allocations: 10.12 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7462, allocations: 2.594 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.7462, allocations: 8.438 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.7465, allocations: 41.8 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.7465, allocations: 8.266 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.7467, allocations: 19.12 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.747, allocations: 215.3 kB / 1.058 GB, free: 153.5 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.0002332/0.7472, allocations: 189.8 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.7473, allocations: 32.81 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.7474, allocations: 35.88 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.7474, allocations: 8.688 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7474, allocations: 0 / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.7474, allocations: 2.625 kB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.7491, allocations: 1.707 MB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.7492, allocations: 0 / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.7492, allocations: 21.05 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7492, allocations: 2.844 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.7493, allocations: 22.83 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.7493, allocations: 6.812 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7493, allocations: 0 / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.7502, allocations: 1.114 MB / 1.061 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.7503, allocations: 104.3 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.7503, allocations: 12.5 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.7505, allocations: 8.781 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.7506, allocations: 52.81 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/0.7509, allocations: 224.7 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001563/0.7511, allocations: 174.3 kB / 1.062 GB, free: 152.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7511, allocations: 0 / 1.062 GB, free: 152.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004719/0.7515, allocations: 63.02 kB / 1.062 GB, free: 152.3 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.0001422/0.7517, allocations: 137.4 kB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008547/0.7526, allocations: 0.731 MB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7526, allocations: 1.688 kB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.753, allocations: 410 kB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.7545, allocations: 311.7 kB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.756, allocations: 1.021 MB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7563, allocations: 0.7568 MB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003513/0.7566, allocations: 94.09 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.7568, allocations: 66.58 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.7568, allocations: 0.75 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01933/0.7761, allocations: 7.954 MB / 1.073 GB, free: 150.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)