Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.958/1.958, allocations: 287.4 MB / 303.2 MB, free: 8.215 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.001047/0.001047, allocations: 187.5 kB / 371.8 MB, free: 10.81 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.262/2.262, allocations: 205.4 MB / 0.6304 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 98.31 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005069, allocations: 15.86 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001447/0.2851, allocations: 1.126 MB / 0.9804 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.2856, allocations: 263.3 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2857, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2858, allocations: 11.88 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.2859, allocations: 11.92 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.2862, allocations: 71.86 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.2864, allocations: 211.9 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.2865, allocations: 5.125 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.2865, allocations: 79.88 kB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2867, allocations: 107.6 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.2867, allocations: 8 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.2868, allocations: 8 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.2868, allocations: 71.78 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.2869, allocations: 61.58 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2871, allocations: 179.9 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2871, allocations: 4 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2871, allocations: 7.938 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2871, allocations: 0 / 0.9814 GB, free: 25.97 MB / 0.6198 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.000876/0.288, allocations: 0.6199 MB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2881, allocations: 8.031 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.2881, allocations: 28.64 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2884, allocations: 258.8 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2884, allocations: 12.66 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.2884, allocations: 32.36 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.2889, allocations: 463.1 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2889, allocations: 4.188 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.289, allocations: 7.938 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.289, allocations: 4 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.2893, allocations: 319.8 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.2898, allocations: 0.5662 MB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.2907, allocations: 1.029 MB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/0.2913, allocations: 0.6554 MB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.2914, allocations: 15.98 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004954/0.2919, allocations: 474.2 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.2919, allocations: 0 / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001158/0.293, allocations: 1.117 MB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2931, allocations: 140.5 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2933, allocations: 244.9 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2933, allocations: 37.7 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.2934, allocations: 125.1 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.2935, allocations: 83.14 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.2935, allocations: 8 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.2936, allocations: 338.8 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.2939, allocations: 332.7 kB / 0.9881 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.2943, allocations: 426.4 kB / 0.9885 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.2949, allocations: 0.7713 MB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2949, allocations: 0 / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007866/0.2957, allocations: 0.8217 MB / 0.9901 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2958, allocations: 8 kB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2958, allocations: 7.938 kB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2958, allocations: 4 kB / 0.9901 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.296, allocations: 47.83 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.296, allocations: 4.312 kB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.2962, allocations: 27.69 kB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.2965, allocations: 275.5 kB / 0.9904 GB, free: 16.32 MB / 0.6198 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.0001537/0.2966, allocations: 187.3 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2967, allocations: 35.62 kB / 0.9907 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.2967, allocations: 50.09 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2968, allocations: 3.938 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2968, allocations: 0 / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.2968, allocations: 104.7 kB / 0.9908 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.2969, allocations: 15.98 kB / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.297, allocations: 4 kB / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.2971, allocations: 47.94 kB / 0.9909 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009712/0.2981, allocations: 1.135 MB / 0.992 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008127/0.2989, allocations: 1.199 MB / 0.9931 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003655/0.2993, allocations: 386.4 kB / 0.9935 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001066/0.2994, allocations: 176.5 kB / 0.9937 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of Backend: time 5.91e-07/0.2994, allocations: 3.938 kB / 0.9937 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008894/0.3003, allocations: 490.7 kB / 0.9942 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001404/0.3017, allocations: 1.076 MB / 0.9952 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.00855/0.3103, allocations: 6.38 MB / 1.001 GB, free: 5.008 MB / 0.6198 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)