Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.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.0007832/0.0007832, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001331/0.001331, allocations: 161 kB / 24.17 MB, free: 324 kB / 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 0.9105/0.9105, allocations: 177.1 MB / 204.6 MB, free: 4.699 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 1.901/1.901, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.829e-05, allocations: 7.578 kB / 0.7751 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002719/0.002748, allocations: 1.57 MB / 0.7766 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004086, allocations: 0.5374 MB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.004165, allocations: 2.25 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004268, allocations: 8.75 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.004402, allocations: 32.72 kB / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.005372, allocations: 322.5 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.006027, allocations: 487 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.006074, allocations: 11.97 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.006613, allocations: 359.6 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.006938, allocations: 136.1 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.007014, allocations: 28 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.00708, allocations: 26.75 kB / 0.7785 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.007207, allocations: 119.7 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.007365, allocations: 135.7 kB / 0.7787 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.007818, allocations: 382.8 kB / 0.7791 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007821, allocations: 0 / 0.7791 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007822, allocations: 0 / 0.7791 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.007829, allocations: 0 / 0.7791 GB, free: 1.348 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001061/0.00889, allocations: 0.7377 MB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.008931, allocations: 13.34 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.00905, allocations: 48.88 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.009386, allocations: 228.1 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.009433, allocations: 20.36 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.009505, allocations: 28.92 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.009956, allocations: 186.8 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.009964, allocations: 192 / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.00999, allocations: 8.359 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.009996, allocations: 0.875 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.01012, allocations: 41.42 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.01036, allocations: 112.9 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.01059, allocations: 98.06 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01071, allocations: 42.34 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.01073, allocations: 4 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.01096, allocations: 152.6 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.01096, allocations: 0 / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004677/0.01143, allocations: 209.1 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.01147, allocations: 56.06 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.01176, allocations: 337.2 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.01182, allocations: 41.69 kB / 0.7814 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.01188, allocations: 93.44 kB / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.01192, allocations: 39.73 kB / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.01209, allocations: 113.4 kB / 0.7816 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.01218, allocations: 326.8 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.0124, allocations: 165.7 kB / 0.7821 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.01263, allocations: 208.1 kB / 0.7823 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.0129, allocations: 257.4 kB / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0129, allocations: 0 / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005268/0.01343, allocations: 435.1 kB / 0.7829 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.0135, allocations: 81.34 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.0135, allocations: 0 / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.01351, allocations: 4 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01365, allocations: 43.91 kB / 0.7831 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01366, allocations: 4 kB / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.0139, allocations: 44.98 kB / 0.7831 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.01397, allocations: 53.89 kB / 0.7832 GB, free: 12.95 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001549/0.01413, allocations: 148.5 kB / 0.7833 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.01419, allocations: 27.97 kB / 0.7833 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.01424, allocations: 35.67 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01424, allocations: 4 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01424, allocations: 0.625 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01425, allocations: 0.5938 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.01482, allocations: 379.1 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01483, allocations: 0 / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.01485, allocations: 4 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01485, allocations: 4.844 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.01487, allocations: 11.97 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01488, allocations: 8.875 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01488, allocations: 0 / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.0152, allocations: 246.2 kB / 0.784 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.01541, allocations: 111.6 kB / 0.7841 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.01548, allocations: 15.98 kB / 0.7841 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.01573, allocations: 29.69 kB / 0.7842 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.01575, allocations: 11.92 kB / 0.7842 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.01581, allocations: 47.98 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001462/0.01596, allocations: 137.3 kB / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01596, allocations: 0 / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003499/0.01631, allocations: 72.61 kB / 0.7844 GB, free: 11.64 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001285/0.01643, allocations: 87.3 kB / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.01709, allocations: 410.1 kB / 0.7849 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.0171, allocations: 4 kB / 0.7849 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.01723, allocations: 73.14 kB / 0.785 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01751, allocations: 42.36 kB / 0.785 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.01833, allocations: 461.6 kB / 0.7854 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.0184, allocations: 91.81 kB / 0.7855 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.01845, allocations: 14.2 kB / 0.7855 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.01869, allocations: 123.7 kB / 0.7857 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01869, allocations: 0 / 0.7857 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.00898/0.02767, allocations: 5.412 MB / 0.7909 GB, free: 4.883 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.835336896125227]