Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.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.773/1.773, allocations: 288.4 MB / 303.4 MB, free: 8.023 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.001133/0.001133, allocations: 176.5 kB / 372 MB, free: 10.28 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.72/1.72, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0009009/0.0009012, allocations: 103.5 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004103, allocations: 18.52 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001587/0.2288, allocations: 1.126 MB / 0.9807 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005231/0.2294, allocations: 260.2 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.2294, allocations: 0 / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2296, allocations: 15.86 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.2296, allocations: 15.91 kB / 0.981 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.2299, allocations: 75.81 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2301, allocations: 204 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.2302, allocations: 5.125 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.2303, allocations: 83.81 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2304, allocations: 103.7 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.2305, allocations: 8 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.2305, allocations: 8 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.2306, allocations: 71.8 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.2306, allocations: 57.58 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2308, allocations: 183.9 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2308, allocations: 3.938 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2308, allocations: 4 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2308, allocations: 0 / 0.9817 GB, free: 25.46 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.0008388/0.2317, allocations: 0.6237 MB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2317, allocations: 16.02 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.2318, allocations: 23.72 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.232, allocations: 261.5 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2321, allocations: 12.28 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2321, allocations: 24 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2326, allocations: 458.7 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2326, allocations: 4 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2326, allocations: 4 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2327, allocations: 4 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.233, allocations: 323.8 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.2335, allocations: 0.5701 MB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.2344, allocations: 1.025 MB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.235, allocations: 0.6593 MB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.235, allocations: 12 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.2355, allocations: 478.2 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.2355, allocations: 0 / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001221/0.2367, allocations: 1.111 MB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.2368, allocations: 140.5 kB / 0.9873 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.237, allocations: 248.9 kB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.237, allocations: 37.7 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.2371, allocations: 129 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.2372, allocations: 83.17 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.2372, allocations: 8 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.2373, allocations: 342.8 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.2376, allocations: 332.7 kB / 0.9884 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.2379, allocations: 422.4 kB / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.2383, allocations: 353.5 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2383, allocations: 3.953 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007593/0.239, allocations: 0.8366 MB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2391, allocations: 8.031 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2391, allocations: 4 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2391, allocations: 4 kB / 0.99 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2393, allocations: 43.84 kB / 0.99 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2393, allocations: 4 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.2395, allocations: 31.73 kB / 0.9901 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.2398, allocations: 268 kB / 0.9903 GB, free: 16.26 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.0001577/0.2399, allocations: 199.4 kB / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.24, allocations: 31.58 kB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.2401, allocations: 42.17 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2401, allocations: 4 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.2401, allocations: 0 / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2401, allocations: 11.92 kB / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.2416, allocations: 1.703 MB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2416, allocations: 4 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2417, allocations: 19.91 kB / 0.9923 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2417, allocations: 4 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.2417, allocations: 23.97 kB / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2417, allocations: 4 kB / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2417, allocations: 0 / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.2426, allocations: 1.113 MB / 0.9934 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2426, allocations: 108.8 kB / 0.9935 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.2427, allocations: 12.12 kB / 0.9935 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2429, allocations: 12 kB / 0.9935 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.243, allocations: 51.92 kB / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/0.2433, allocations: 279.4 kB / 0.9939 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2434, allocations: 172.5 kB / 0.994 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2434, allocations: 4 kB / 0.994 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003947/0.2438, allocations: 56 kB / 0.9941 GB, free: 12.32 MB / 0.6198 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.0001379/0.2439, allocations: 135.1 kB / 0.9942 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007647/0.2447, allocations: 0.7306 MB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2447, allocations: 0 / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.2451, allocations: 409.6 kB / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.2466, allocations: 318.8 kB / 0.9956 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2476, allocations: 1.021 MB / 0.9966 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.2478, allocations: 0.7647 MB / 0.9974 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.248, allocations: 94.92 kB / 0.9975 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2482, allocations: 67.38 kB / 0.9975 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2482, allocations: 0 / 0.9975 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.009503/0.2577, allocations: 8.152 MB / 1.005 GB, free: 0.6914 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)