Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.0009155/0.0009155, allocations: 182.7 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 0.6316 GB, free: 9.957 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.000743/0.0007432, allocations: 98.22 kB / 0.745 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 16.83 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.0008297/0.2365, allocations: 413.8 kB / 0.9811 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.237, allocations: 260.2 kB / 0.9814 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.2371, allocations: 4 kB / 0.9814 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2372, allocations: 11.88 kB / 0.9814 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.543e-05/0.2372, allocations: 15.91 kB / 0.9814 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2375, allocations: 79.84 kB / 0.9815 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.2377, allocations: 196 kB / 0.9817 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.2378, allocations: 9.125 kB / 0.9817 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.2378, allocations: 79.81 kB / 0.9818 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.238, allocations: 103.7 kB / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.238, allocations: 12 kB / 0.9819 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.2381, allocations: 11.94 kB / 0.9819 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.2382, allocations: 75.78 kB / 0.982 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.2382, allocations: 129.1 kB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2384, allocations: 191.6 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2384, allocations: 0 / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2384, allocations: 0 / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2385, allocations: 0 / 0.9823 GB, free: 25.78 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.0008041/0.2393, allocations: 0.6396 MB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2393, allocations: 12.03 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.2394, allocations: 28.66 kB / 0.9829 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2396, allocations: 258.8 kB / 0.9832 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.2397, allocations: 16.64 kB / 0.9832 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.2397, allocations: 16.38 kB / 0.9832 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.2402, allocations: 463.2 kB / 0.9837 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2402, allocations: 192 / 0.9837 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.2402, allocations: 15.88 kB / 0.9837 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2403, allocations: 4 kB / 0.9837 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.2406, allocations: 323.8 kB / 0.984 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2411, allocations: 0.5662 MB / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.2419, allocations: 1.034 MB / 0.9855 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.2425, allocations: 0.661 MB / 0.9862 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2426, allocations: 4 kB / 0.9862 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.2431, allocations: 478.2 kB / 0.9866 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.2431, allocations: 4 kB / 0.9867 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001177/0.2443, allocations: 1.107 MB / 0.9877 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2443, allocations: 148.4 kB / 0.9879 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2445, allocations: 252.9 kB / 0.9881 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2445, allocations: 37.7 kB / 0.9882 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.2446, allocations: 121.1 kB / 0.9883 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.2447, allocations: 79.08 kB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.2447, allocations: 12 kB / 0.9884 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.2448, allocations: 338.8 kB / 0.9887 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.2451, allocations: 328.7 kB / 0.989 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.2454, allocations: 418.5 kB / 0.9894 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.2461, allocations: 0.7641 MB / 0.9901 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2461, allocations: 7.938 kB / 0.9901 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007974/0.2469, allocations: 0.8297 MB / 0.991 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2469, allocations: 8 kB / 0.991 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.247, allocations: 3.938 kB / 0.991 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.247, allocations: 11.98 kB / 0.991 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2471, allocations: 35.91 kB / 0.991 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2472, allocations: 16 kB / 0.991 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2474, allocations: 27.69 kB / 0.9911 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/0.2477, allocations: 268 kB / 0.9913 GB, free: 16.11 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.0001686/0.2478, allocations: 193.7 kB / 0.9915 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.2479, allocations: 27.62 kB / 0.9915 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.2479, allocations: 42.11 kB / 0.9916 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.248, allocations: 0 / 0.9916 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.248, allocations: 4 kB / 0.9916 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.248, allocations: 105 kB / 0.9917 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2481, allocations: 16 kB / 0.9917 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2482, allocations: 8 kB / 0.9917 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2483, allocations: 55.86 kB / 0.9917 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000966/0.2493, allocations: 1.132 MB / 0.9928 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008743/0.2502, allocations: 1.202 MB / 0.994 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004099/0.2506, allocations: 381.8 kB / 0.9944 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001378/0.2508, allocations: 172.5 kB / 0.9945 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of Backend: time 8.91e-07/0.2508, allocations: 0 / 0.9945 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.2518, allocations: 0.4933 MB / 0.995 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001419/0.2532, allocations: 1.102 MB / 0.9961 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.008682/0.2619, allocations: 6.566 MB / 1.003 GB, free: 4.582 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType.pipe 2>&1)