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.001708/0.001708, allocations: 111.4 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.494/1.494, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001389/0.001389, allocations: 72.62 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2212, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002671/0.2239, allocations: 1.488 MB / 0.785 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.2246, allocations: 260.3 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2247, allocations: 11.94 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2248, allocations: 15.8 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.2249, allocations: 19.91 kB / 0.7853 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.2253, allocations: 83.36 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.2255, allocations: 236 kB / 0.7856 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.2256, allocations: 9.109 kB / 0.7856 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.2257, allocations: 83.81 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2259, allocations: 107.7 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.2259, allocations: 20 kB / 0.7858 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.069e-05/0.2259, allocations: 16 kB / 0.7858 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2261, allocations: 87.78 kB / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2262, allocations: 107.4 kB / 0.786 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2264, allocations: 183.9 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2264, allocations: 0 / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2264, allocations: 0 / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2264, allocations: 0 / 0.7861 GB, free: 11.21 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.0009622/0.2274, allocations: 0.7018 MB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2274, allocations: 8.031 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.2275, allocations: 24.66 kB / 0.7869 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.2278, allocations: 266.8 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.2279, allocations: 12.66 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.2279, allocations: 20.36 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.2285, allocations: 459.3 kB / 0.7876 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2285, allocations: 192 / 0.7876 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2285, allocations: 11.94 kB / 0.7876 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2285, allocations: 4 kB / 0.7876 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.2289, allocations: 323.8 kB / 0.7879 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.2295, allocations: 0.5662 MB / 0.7885 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2307, allocations: 1.031 MB / 0.7895 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.2314, allocations: 0.6554 MB / 0.7901 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2315, allocations: 11.98 kB / 0.7901 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.2321, allocations: 482.2 kB / 0.7906 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.2321, allocations: 0 / 0.7906 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001461/0.2336, allocations: 1.113 MB / 0.7917 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/0.2337, allocations: 144.5 kB / 0.7918 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.234, allocations: 248.9 kB / 0.792 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.234, allocations: 37.7 kB / 0.7921 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2341, allocations: 129.1 kB / 0.7922 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.2342, allocations: 71.16 kB / 0.7923 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2344, allocations: 114.1 kB / 0.7924 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2346, allocations: 342.8 kB / 0.7927 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.2349, allocations: 328.7 kB / 0.793 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.2354, allocations: 426.9 kB / 0.7934 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.2363, allocations: 0.7751 MB / 0.7942 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2363, allocations: 0 / 0.7942 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001025/0.2373, allocations: 0.8279 MB / 0.795 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.2373, allocations: 16.06 kB / 0.795 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2374, allocations: 7.938 kB / 0.795 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.2374, allocations: 4 kB / 0.795 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.2376, allocations: 35.91 kB / 0.7951 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2376, allocations: 11.94 kB / 0.7951 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2379, allocations: 35.67 kB / 0.7951 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.2382, allocations: 267.5 kB / 0.7954 GB, free: 1.371 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.0002402/0.2384, allocations: 190 kB / 0.7955 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2385, allocations: 27.66 kB / 0.7956 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.2386, allocations: 42.17 kB / 0.7956 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2386, allocations: 4 kB / 0.7956 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2386, allocations: 4 kB / 0.7956 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2386, allocations: 3.984 kB / 0.7956 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.2406, allocations: 1.71 MB / 0.7973 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2406, allocations: 7.984 kB / 0.7973 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.2406, allocations: 19.92 kB / 0.7973 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2407, allocations: 4 kB / 0.7973 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.2407, allocations: 23.97 kB / 0.7973 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2407, allocations: 4 kB / 0.7973 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2407, allocations: 400 / 0.7973 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2417, allocations: 1.117 MB / 0.7984 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.2418, allocations: 112.7 kB / 0.7985 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.2419, allocations: 12 kB / 0.7985 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2422, allocations: 4 kB / 0.7986 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2423, allocations: 51.94 kB / 0.7986 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/0.2426, allocations: 279.5 kB / 0.7989 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001532/0.2427, allocations: 176.4 kB / 0.799 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2427, allocations: 0 / 0.799 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004824/0.2432, allocations: 68 kB / 0.7991 GB, free: 13.43 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.0001576/0.2434, allocations: 138 kB / 0.7992 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000972/0.2444, allocations: 0.7806 MB / 0.8 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2444, allocations: 0 / 0.8 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.2448, allocations: 398.7 kB / 0.8004 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.2465, allocations: 364.1 kB / 0.8007 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2479, allocations: 1.066 MB / 0.8018 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2482, allocations: 0.7608 MB / 0.8025 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.2484, allocations: 67.38 kB / 0.8026 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2484, allocations: 0 / 0.8026 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of Templates: time 0.006411/0.2548, allocations: 4.488 MB / 0.807 GB, free: 5.355 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)