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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 195.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.954/1.954, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001662, allocations: 65.73 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3903, allocations: 114.5 MB / 0.7833 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.004213/0.3946, allocations: 1.434 MB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.3955, allocations: 267.2 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3956, allocations: 11.94 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3959, allocations: 11.86 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.396, allocations: 19.86 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.3965, allocations: 87.78 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.3969, allocations: 235.9 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.397, allocations: 13.11 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3972, allocations: 79.83 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3974, allocations: 111.7 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.3975, allocations: 16 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.3976, allocations: 16 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3977, allocations: 87.8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.3979, allocations: 103.4 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.3982, allocations: 259.4 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3982, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3982, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.25e-05/0.3983, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 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.001339/0.3996, allocations: 0.6927 MB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3997, allocations: 12.03 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3998, allocations: 32.58 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.4003, allocations: 254.8 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.4003, allocations: 16.66 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.4004, allocations: 20.36 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.4011, allocations: 459.3 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4012, allocations: 4.188 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.4012, allocations: 7.938 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4012, allocations: 8 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.4017, allocations: 323.7 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.4026, allocations: 0.5701 MB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.4039, allocations: 1.032 MB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.4047, allocations: 0.6554 MB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.4048, allocations: 11.92 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/0.4056, allocations: 478.3 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.395e-06/0.4056, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001687/0.4073, allocations: 1.118 MB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.4075, allocations: 140.5 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.4079, allocations: 248.9 kB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.408, allocations: 41.64 kB / 0.7919 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4081, allocations: 129.1 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.4082, allocations: 79.14 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.4085, allocations: 110.1 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4087, allocations: 338.8 kB / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.4092, allocations: 328.7 kB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.4098, allocations: 430.5 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.4109, allocations: 0.7673 MB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4109, allocations: 0 / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001305/0.4122, allocations: 0.8269 MB / 0.7949 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.4123, allocations: 12.06 kB / 0.7949 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4123, allocations: 4 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.4123, allocations: 4 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.4126, allocations: 43.89 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.4126, allocations: 11.88 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.413, allocations: 31.69 kB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/0.4134, allocations: 272 kB / 0.7952 GB, free: 0.9023 MB / 0.6075 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.0003495/0.4137, allocations: 190.7 kB / 0.7954 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.4138, allocations: 31.66 kB / 0.7954 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4139, allocations: 42.17 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.414, allocations: 4 kB / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.414, allocations: 0 / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.414, allocations: 4 kB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.4168, allocations: 1.709 MB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4168, allocations: 3.938 kB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.4169, allocations: 31.91 kB / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.4169, allocations: 0 / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.417, allocations: 27.97 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.417, allocations: 0 / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.417, allocations: 0.5156 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4186, allocations: 1.121 MB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4188, allocations: 100.8 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.4189, allocations: 8 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4192, allocations: 19.92 kB / 0.7984 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4193, allocations: 51.88 kB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003745/0.4197, allocations: 279.4 kB / 0.7987 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002021/0.4199, allocations: 172.4 kB / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4199, allocations: 0 / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000581/0.4205, allocations: 67.98 kB / 0.799 GB, free: 12.96 MB / 0.6231 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.0002476/0.4208, allocations: 134 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.422, allocations: 0.7811 MB / 0.7999 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.422, allocations: 0 / 0.7999 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.4227, allocations: 411.7 kB / 0.8003 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.4245, allocations: 373.4 kB / 0.8006 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4261, allocations: 0.9679 MB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.4267, allocations: 0.7608 MB / 0.8023 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.4271, allocations: 86.92 kB / 0.8024 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4272, allocations: 71.38 kB / 0.8024 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.4273, allocations: 4 kB / 0.8024 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of Templates: time 0.01765/0.4449, allocations: 8.817 MB / 0.8111 GB, free: 0.6523 MB / 0.6231 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)