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.509/1.509, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00138/0.001381, allocations: 176.2 kB / 326.5 MB, free: 2.684 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.824/1.824, allocations: 205 MB / 0.5766 GB, free: 20.56 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.0008044/0.0008045, allocations: 86.36 kB / 0.6804 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8.906 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 105.4 MB / 0.8967 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001427/0.2122, allocations: 1.162 MB / 0.8979 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005221/0.2127, allocations: 267.2 kB / 0.8981 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.2128, allocations: 4 kB / 0.8981 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.213, allocations: 11.92 kB / 0.8982 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.213, allocations: 23.84 kB / 0.8982 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2133, allocations: 79.86 kB / 0.8983 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.2136, allocations: 216 kB / 0.8985 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.2136, allocations: 13.11 kB / 0.8985 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.2137, allocations: 75.81 kB / 0.8985 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2138, allocations: 103.7 kB / 0.8986 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.2139, allocations: 8 kB / 0.8986 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.2139, allocations: 11.94 kB / 0.8987 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.214, allocations: 79.78 kB / 0.8987 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.2141, allocations: 107.3 kB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.2143, allocations: 235.2 kB / 0.8991 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2143, allocations: 0 / 0.8991 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2143, allocations: 4 kB / 0.8991 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2143, allocations: 4 kB / 0.8991 GB, free: 65.3 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.0008277/0.2152, allocations: 0.6121 MB / 0.8997 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.2152, allocations: 12.03 kB / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.2153, allocations: 24.66 kB / 0.8997 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.2156, allocations: 270.7 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2156, allocations: 20.66 kB / 0.9 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.2157, allocations: 16.38 kB / 0.9 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.2161, allocations: 463.3 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2161, allocations: 192 / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.2162, allocations: 7.938 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2162, allocations: 4 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.2165, allocations: 323.8 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.2169, allocations: 0.5663 MB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.2178, allocations: 1.03 MB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.2183, allocations: 0.6569 MB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2184, allocations: 4 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.2189, allocations: 490.2 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.2189, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.00115/0.22, allocations: 1.113 MB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2201, allocations: 132.5 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2203, allocations: 260.8 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2203, allocations: 33.7 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.2204, allocations: 125.1 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.2204, allocations: 87.08 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.2205, allocations: 49.69 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.2205, allocations: 346.8 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2208, allocations: 332.6 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2212, allocations: 426.4 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.2218, allocations: 0.7655 MB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2218, allocations: 7.938 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007435/0.2226, allocations: 0.8382 MB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2226, allocations: 8 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2226, allocations: 3.938 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2226, allocations: 8 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2228, allocations: 35.91 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2228, allocations: 4 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.223, allocations: 35.67 kB / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.2233, allocations: 271.6 kB / 0.9082 GB, free: 55.59 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 (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.0001475/0.2234, allocations: 185.7 kB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.2235, allocations: 31.72 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.2235, allocations: 42.11 kB / 0.9084 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.2235, allocations: 3.984 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2235, allocations: 4 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.2236, allocations: 104.7 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.2236, allocations: 11.94 kB / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2238, allocations: 8 kB / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2239, allocations: 51.92 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008411/0.2247, allocations: 1.131 MB / 0.9097 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008016/0.2255, allocations: 1.202 MB / 0.9109 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000339/0.2259, allocations: 383.8 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001059/0.226, allocations: 172.5 kB / 0.9114 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of Backend: time 6.81e-07/0.226, allocations: 0 / 0.9114 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009009/0.2269, allocations: 0.4907 MB / 0.9119 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001289/0.2282, allocations: 1.098 MB / 0.9129 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.008025/0.2362, allocations: 6.62 MB / 0.9194 GB, free: 44.03 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)