Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001368/0.001368, allocations: 189.9 kB / 376.9 MB, free: 1.82 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.063/2.063, allocations: 205 MB / 0.6353 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 98.59 kB / 0.748 GB, free: 61.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 43.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3584, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.003817/0.3623, allocations: 1.5 MB / 0.9837 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000856/0.3632, allocations: 263.2 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.3633, allocations: 4 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3635, allocations: 11.86 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.3636, allocations: 11.94 kB / 0.9839 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3641, allocations: 91.83 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.3645, allocations: 224 kB / 0.9842 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.654e-05/0.3646, allocations: 5.125 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3647, allocations: 79.81 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.3649, allocations: 99.69 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.365, allocations: 8 kB / 0.9844 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.3651, allocations: 8 kB / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3652, allocations: 79.78 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3654, allocations: 103.3 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3657, allocations: 243.4 kB / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3657, allocations: 0 / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3657, allocations: 4 kB / 0.9848 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3657, allocations: 0 / 0.9848 GB, free: 7.672 MB / 0.7136 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.001194/0.3669, allocations: 0.694 MB / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.367, allocations: 12.03 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.3671, allocations: 24.66 kB / 0.9856 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.3674, allocations: 262.7 kB / 0.9858 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3675, allocations: 20.66 kB / 0.9858 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.3675, allocations: 16.38 kB / 0.9858 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.3682, allocations: 467.2 kB / 0.9863 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3682, allocations: 4.188 kB / 0.9863 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.3683, allocations: 11.92 kB / 0.9863 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.3683, allocations: 4 kB / 0.9863 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.3687, allocations: 319.8 kB / 0.9866 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.3696, allocations: 0.574 MB / 0.9872 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.3709, allocations: 1.025 MB / 0.9882 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.3716, allocations: 0.6656 MB / 0.9888 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.3717, allocations: 7.984 kB / 0.9888 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/0.3724, allocations: 482 kB / 0.9893 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/0.3724, allocations: 0 / 0.9893 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001608/0.374, allocations: 1.12 MB / 0.9904 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.3742, allocations: 136.5 kB / 0.9905 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.3745, allocations: 256.9 kB / 0.9908 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.3745, allocations: 33.7 kB / 0.9908 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3747, allocations: 125.1 kB / 0.9909 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3748, allocations: 91.06 kB / 0.991 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.375, allocations: 106.1 kB / 0.9911 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3751, allocations: 338.8 kB / 0.9914 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.3756, allocations: 332.7 kB / 0.9917 GB, free: 284 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.3761, allocations: 422.6 kB / 0.9921 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.3771, allocations: 0.7673 MB / 0.9929 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3771, allocations: 0 / 0.9929 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001143/0.3782, allocations: 0.8327 MB / 0.9937 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3783, allocations: 7.938 kB / 0.9937 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3783, allocations: 4 kB / 0.9937 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3783, allocations: 4 kB / 0.9937 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3785, allocations: 39.91 kB / 0.9938 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.3786, allocations: 11.92 kB / 0.9938 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.3789, allocations: 31.69 kB / 0.9938 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/0.3792, allocations: 271.6 kB / 0.9941 GB, free: 13.82 MB / 0.7292 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 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.3795, allocations: 189.7 kB / 0.9942 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.3796, allocations: 39.55 kB / 0.9943 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.3797, allocations: 34.19 kB / 0.9943 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3797, allocations: 4 kB / 0.9943 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.3797, allocations: 0 / 0.9943 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3797, allocations: 7.984 kB / 0.9943 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.3819, allocations: 1.714 MB / 0.996 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3819, allocations: 0 / 0.996 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.382, allocations: 27.91 kB / 0.996 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.382, allocations: 3.984 kB / 0.996 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.382, allocations: 19.98 kB / 0.9961 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.382, allocations: 0 / 0.9961 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.382, allocations: 0 / 0.9961 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.3841, allocations: 2.196 MB / 0.9982 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3842, allocations: 104.7 kB / 0.9983 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.3843, allocations: 12 kB / 0.9983 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3846, allocations: 15.92 kB / 0.9983 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3847, allocations: 59.81 kB / 0.9984 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/0.385, allocations: 275.4 kB / 0.9986 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001738/0.3852, allocations: 176.5 kB / 0.9988 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3852, allocations: 0 / 0.9988 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006371/0.3859, allocations: 64 kB / 0.9989 GB, free: 8.75 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002253/0.3861, allocations: 131.2 kB / 0.999 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.3872, allocations: 0.7403 MB / 0.9997 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3872, allocations: 0 / 0.9997 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.3877, allocations: 404 kB / 1 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.3895, allocations: 335.4 kB / 1 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3915, allocations: 1.268 MB / 1.002 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.3921, allocations: 0.7647 MB / 1.002 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000386/0.3925, allocations: 98.91 kB / 1.003 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3927, allocations: 63.39 kB / 1.003 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.3927, allocations: 0 / 1.003 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of Templates: time 0.01696/0.4096, allocations: 8.68 MB / 1.011 GB, free: 12.31 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)