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.398/1.398, allocations: 252 MB / 267.6 MB, free: 10.95 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.001/0.001001, allocations: 183.5 kB / 327.3 MB, free: 2.203 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.884/1.884, allocations: 205.4 MB / 0.5783 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.00113/0.001129, allocations: 96.03 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 9.844 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2442, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001461/0.2458, allocations: 1.139 MB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.2463, allocations: 259.3 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.2463, allocations: 3.938 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2465, allocations: 11.94 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.2465, allocations: 19.84 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2468, allocations: 78.11 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.247, allocations: 200 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.2471, allocations: 9.125 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.2472, allocations: 83.81 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2473, allocations: 103.7 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.2474, allocations: 8 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.321e-05/0.2474, allocations: 8 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.2475, allocations: 75.78 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.2475, allocations: 57.58 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.2477, allocations: 183.6 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2477, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2477, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2477, allocations: 4 kB / 0.903 GB, free: 61.69 MB / 0.6042 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.0008393/0.2486, allocations: 0.6162 MB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2486, allocations: 12.03 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.2487, allocations: 27.7 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.249, allocations: 257.6 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.249, allocations: 12.28 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.2491, allocations: 23.98 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2496, allocations: 454.8 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2496, allocations: 8 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.2496, allocations: 4 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2496, allocations: 4 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.25, allocations: 323.7 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.2505, allocations: 0.5663 MB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.2515, allocations: 1.029 MB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.2521, allocations: 0.6607 MB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.2521, allocations: 12 kB / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.2527, allocations: 474.5 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.2527, allocations: 0 / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001211/0.2539, allocations: 1.113 MB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.254, allocations: 140.5 kB / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2541, allocations: 252.8 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.2542, allocations: 37.7 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.2542, allocations: 125.1 kB / 0.9089 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.2543, allocations: 79 kB / 0.909 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.2544, allocations: 12 kB / 0.909 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.2544, allocations: 342.8 kB / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.2548, allocations: 328.7 kB / 0.9097 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.2551, allocations: 430.4 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.2555, allocations: 351.8 kB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2555, allocations: 0 / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008113/0.2563, allocations: 0.834 MB / 0.9112 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2563, allocations: 4.125 kB / 0.9112 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2563, allocations: 8 kB / 0.9112 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.2563, allocations: 7.938 kB / 0.9112 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2565, allocations: 47.89 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2565, allocations: 4 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2568, allocations: 27.69 kB / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.257, allocations: 272 kB / 0.9116 GB, free: 52.51 MB / 0.6042 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.0001827/0.2572, allocations: 193.6 kB / 0.9118 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.2573, allocations: 27.72 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.2573, allocations: 38.17 kB / 0.9118 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2574, allocations: 8 kB / 0.9118 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2574, allocations: 0 / 0.9118 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2574, allocations: 4 kB / 0.9118 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.259, allocations: 1.71 MB / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.259, allocations: 0 / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.2591, allocations: 27.91 kB / 0.9135 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2591, allocations: 4 kB / 0.9135 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2591, allocations: 19.97 kB / 0.9136 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2591, allocations: 4 kB / 0.9136 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2591, allocations: 3.938 kB / 0.9136 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.26, allocations: 1.121 MB / 0.9147 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.26, allocations: 108.8 kB / 0.9148 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.2601, allocations: 12.12 kB / 0.9148 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2603, allocations: 11.98 kB / 0.9148 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.2604, allocations: 47.94 kB / 0.9148 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/0.2607, allocations: 279.3 kB / 0.9151 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000115/0.2608, allocations: 176.4 kB / 0.9153 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2608, allocations: 7.938 kB / 0.9153 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004116/0.2612, allocations: 64 kB / 0.9153 GB, free: 48.55 MB / 0.6042 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.000134/0.2613, allocations: 133.2 kB / 0.9155 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007612/0.2621, allocations: 0.7223 MB / 0.9162 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2621, allocations: 3.938 kB / 0.9162 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.2625, allocations: 395.7 kB / 0.9166 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.2641, allocations: 321.4 kB / 0.9169 GB, free: 47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2652, allocations: 1.042 MB / 0.9179 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2654, allocations: 0.7647 MB / 0.9186 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2655, allocations: 67.38 kB / 0.9187 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2655, allocations: 0 / 0.9187 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.005376/0.2709, allocations: 4.461 MB / 0.923 GB, free: 40.62 MB / 0.6042 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)