Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 80.88 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 165.8 kB / 24.97 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.054/2.054, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.5469 kB / 0.7759 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.869e-05, allocations: 9.203 kB / 0.7759 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002367/0.002396, allocations: 1.523 MB / 0.7774 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000976/0.003372, allocations: 287.8 kB / 0.7777 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.003431, allocations: 4 kB / 0.7777 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.003564, allocations: 13.06 kB / 0.7777 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.003627, allocations: 29.2 kB / 0.7777 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.003953, allocations: 79.78 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.00424, allocations: 244.2 kB / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.004282, allocations: 9.953 kB / 0.7781 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.004394, allocations: 122.8 kB / 0.7782 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.00452, allocations: 91.8 kB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.004554, allocations: 16 kB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.004582, allocations: 16 kB / 0.7783 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.004659, allocations: 91.7 kB / 0.7784 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.00472, allocations: 63.81 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004896, allocations: 215.1 kB / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004898, allocations: 0 / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004899, allocations: 0.7812 kB / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.004904, allocations: 0 / 0.7786 GB, free: 2.711 MB / 0.7292 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.0006188/0.005523, allocations: 0.595 MB / 0.7792 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.005561, allocations: 10.34 kB / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.005618, allocations: 32.91 kB / 0.7793 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.005817, allocations: 186.2 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.005841, allocations: 16.64 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.005863, allocations: 17.88 kB / 0.7795 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.006142, allocations: 304.7 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006151, allocations: 192 / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.006167, allocations: 13.28 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006173, allocations: 4.375 kB / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.0063, allocations: 153.6 kB / 0.7799 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.006622, allocations: 369.8 kB / 0.7803 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.007073, allocations: 0.5415 MB / 0.7808 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.007214, allocations: 176.1 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.007238, allocations: 12 kB / 0.781 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.007498, allocations: 318 kB / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.283e-06/0.007499, allocations: 0 / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005139/0.008013, allocations: 0.5471 MB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.00807, allocations: 144.5 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.008206, allocations: 225.4 kB / 0.7822 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.008228, allocations: 37.7 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.008267, allocations: 106.1 kB / 0.7823 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.008322, allocations: 84.27 kB / 0.7824 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.008412, allocations: 107 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.008504, allocations: 346.7 kB / 0.7828 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.008634, allocations: 150.6 kB / 0.783 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.008797, allocations: 249.3 kB / 0.7832 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.009148, allocations: 447.9 kB / 0.7836 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.009151, allocations: 0 / 0.7836 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003787/0.00953, allocations: 443.9 kB / 0.7841 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009544, allocations: 8 kB / 0.7841 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.009551, allocations: 5 kB / 0.7841 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.009564, allocations: 4 kB / 0.7841 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.009688, allocations: 59.88 kB / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.009694, allocations: 4.938 kB / 0.7841 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.0098, allocations: 27.78 kB / 0.7842 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.009986, allocations: 269.9 kB / 0.7844 GB, free: 12.48 MB / 0.7448 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.0003918/0.01038, allocations: 170.2 kB / 0.7846 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.01041, allocations: 27.98 kB / 0.7846 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.01046, allocations: 38.8 kB / 0.7846 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01047, allocations: 5.109 kB / 0.7847 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01047, allocations: 0 / 0.7847 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.0105, allocations: 23.8 kB / 0.7847 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.01053, allocations: 17.56 kB / 0.7847 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.01059, allocations: 4 kB / 0.7847 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.01066, allocations: 51.92 kB / 0.7847 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004038/0.01106, allocations: 0.7029 MB / 0.7854 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004399/0.0115, allocations: 0.8038 MB / 0.7862 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001792/0.01168, allocations: 195.3 kB / 0.7864 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.01174, allocations: 66.78 kB / 0.7865 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Backend: time 3.01e-07/0.01174, allocations: 1.375 kB / 0.7865 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.01232, allocations: 318.9 kB / 0.7868 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of SimCode: time 0.00115/0.01347, allocations: 1.182 MB / 0.7879 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.01027/0.02374, allocations: 8.269 MB / 0.796 GB, free: 0.8477 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_13_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_13_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.357635259628296]