Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 111 kB / 17.33 MB, free: 5.043 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.002111/0.002111, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8702/0.8702, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 60.09 kB / 0.5911 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2001, allocations: 83.26 MB / 0.6724 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002861/0.203, allocations: 1.505 MB / 0.6739 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2044, allocations: 0.557 MB / 0.6744 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.2044, allocations: 0 / 0.6744 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.2045, allocations: 7.938 kB / 0.6744 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2046, allocations: 39.62 kB / 0.6745 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.2056, allocations: 311.3 kB / 0.6748 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.2063, allocations: 483.4 kB / 0.6752 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.2063, allocations: 7.938 kB / 0.6752 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.2067, allocations: 279.6 kB / 0.6755 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.2071, allocations: 150.6 kB / 0.6757 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.2071, allocations: 32 kB / 0.6757 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.2072, allocations: 24 kB / 0.6757 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2073, allocations: 111.7 kB / 0.6758 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2075, allocations: 187 kB / 0.676 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.208, allocations: 426.4 kB / 0.6764 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.208, allocations: 0 / 0.6764 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.92e-07/0.208, allocations: 0 / 0.6764 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2081, allocations: 4 kB / 0.6764 GB, free: 15.82 MB / 0.5137 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.00134/0.2094, allocations: 0.8788 MB / 0.6773 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2094, allocations: 8.031 kB / 0.6773 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.2096, allocations: 56.59 kB / 0.6773 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.21, allocations: 310.6 kB / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.2101, allocations: 20.36 kB / 0.6776 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.2102, allocations: 24.38 kB / 0.6777 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2112, allocations: 216.5 kB / 0.6779 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2112, allocations: 4.188 kB / 0.6779 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2112, allocations: 7.938 kB / 0.6779 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2112, allocations: 0 / 0.6779 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.212, allocations: 99.92 kB / 0.678 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2125, allocations: 389.2 kB / 0.6784 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2136, allocations: 170.3 kB / 0.6785 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.2143, allocations: 105.2 kB / 0.6786 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2144, allocations: 8 kB / 0.6786 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.2153, allocations: 219.2 kB / 0.6788 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2154, allocations: 0 / 0.6788 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002639/0.218, allocations: 495.8 kB / 0.6793 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.218, allocations: 59.39 kB / 0.6794 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.2185, allocations: 413.9 kB / 0.6798 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.2186, allocations: 45.69 kB / 0.6798 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.2187, allocations: 97.44 kB / 0.6799 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.2187, allocations: 31.73 kB / 0.6799 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2189, allocations: 133.4 kB / 0.68 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2191, allocations: 318.8 kB / 0.6804 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2193, allocations: 119.9 kB / 0.6805 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.2196, allocations: 173.9 kB / 0.6806 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.22, allocations: 279.3 kB / 0.6809 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.22, allocations: 0 / 0.6809 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008647/0.2209, allocations: 488.7 kB / 0.6814 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.221, allocations: 99.23 kB / 0.6815 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.221, allocations: 0 / 0.6815 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.221, allocations: 4 kB / 0.6815 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2212, allocations: 19.92 kB / 0.6815 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2212, allocations: 4 kB / 0.6815 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.2217, allocations: 67.97 kB / 0.6816 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.2218, allocations: 59.97 kB / 0.6816 GB, free: 10.15 MB / 0.5137 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.0002706/0.2221, allocations: 197.7 kB / 0.6818 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.2221, allocations: 47.66 kB / 0.6818 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.886e-05/0.2222, allocations: 35.75 kB / 0.6819 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2222, allocations: 3.984 kB / 0.6819 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2222, allocations: 4 kB / 0.6819 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2222, allocations: 0 / 0.6819 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.2245, allocations: 0.7405 MB / 0.6826 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2245, allocations: 4 kB / 0.6826 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.2245, allocations: 8 kB / 0.6826 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2245, allocations: 3.984 kB / 0.6826 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.2246, allocations: 19.98 kB / 0.6826 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2246, allocations: 0 / 0.6826 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2246, allocations: 0 / 0.6826 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2264, allocations: 487.3 kB / 0.6831 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.2267, allocations: 196.7 kB / 0.6833 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.2267, allocations: 15.98 kB / 0.6833 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.2272, allocations: 27.97 kB / 0.6833 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.2272, allocations: 7.984 kB / 0.6833 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.2273, allocations: 59.98 kB / 0.6834 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003262/0.2276, allocations: 299 kB / 0.6837 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2276, allocations: 0 / 0.6837 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003876/0.228, allocations: 67.98 kB / 0.6838 GB, free: 7.855 MB / 0.5137 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.0001839/0.2282, allocations: 117 kB / 0.6839 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.2296, allocations: 409.6 kB / 0.6843 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2296, allocations: 0 / 0.6843 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.2304, allocations: 123.8 kB / 0.6844 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.2307, allocations: 25.48 kB / 0.6844 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2323, allocations: 0.555 MB / 0.6849 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.2328, allocations: 0.7708 MB / 0.6857 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.2328, allocations: 13.08 kB / 0.6857 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.2329, allocations: 15.44 kB / 0.6857 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.2329, allocations: 7.938 kB / 0.6857 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of Templates: time 0.01098/0.2439, allocations: 5.061 MB / 0.6907 GB, free: 0.5859 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480]