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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001683/0.001683, allocations: 191.3 kB / 17.87 MB, free: 5.293 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.308/1.308, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 122.8 MB / 414.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 0.4917 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 77.93 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002574/0.3217, allocations: 1.502 MB / 0.5693 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3228, allocations: 0.5518 MB / 0.5698 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.3229, allocations: 0 / 0.5698 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.296e-05/0.323, allocations: 7.062 kB / 0.5698 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.3231, allocations: 25.84 kB / 0.5699 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.3239, allocations: 314.3 kB / 0.5702 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.3244, allocations: 0.5023 MB / 0.5706 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.3244, allocations: 13.95 kB / 0.5707 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.3248, allocations: 266.3 kB / 0.5709 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.325, allocations: 139.5 kB / 0.571 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.3251, allocations: 26.75 kB / 0.5711 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.3252, allocations: 27.56 kB / 0.5711 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3254, allocations: 111.8 kB / 0.5712 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3255, allocations: 189 kB / 0.5714 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.326, allocations: 428.6 kB / 0.5718 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.326, allocations: 0 / 0.5718 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.326, allocations: 0 / 0.5718 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.326, allocations: 0 / 0.5718 GB, free: 30.45 MB / 446.1 MB 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.001089/0.3271, allocations: 0.8681 MB / 0.5726 GB, free: 29.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3272, allocations: 10.56 kB / 0.5727 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3273, allocations: 59.22 kB / 0.5727 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3276, allocations: 308.7 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.3277, allocations: 18.75 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/0.3277, allocations: 30.02 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/0.3287, allocations: 206.3 kB / 0.5732 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3288, allocations: 1.875 kB / 0.5732 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3288, allocations: 10.42 kB / 0.5733 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3288, allocations: 1.812 kB / 0.5733 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.3296, allocations: 101.5 kB / 0.5734 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.3301, allocations: 397.5 kB / 0.5737 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3311, allocations: 174.4 kB / 0.5739 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.3319, allocations: 114.5 kB / 0.574 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3319, allocations: 1.406 kB / 0.574 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009389/0.3329, allocations: 223 kB / 0.5742 GB, free: 28.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.3329, allocations: 0.8438 kB / 0.5742 GB, free: 28.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002651/0.3356, allocations: 487.6 kB / 0.5747 GB, free: 28.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3356, allocations: 62.64 kB / 0.5748 GB, free: 28.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.336, allocations: 414.9 kB / 0.5751 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.3361, allocations: 40.25 kB / 0.5752 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3362, allocations: 95.83 kB / 0.5753 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.3362, allocations: 42.16 kB / 0.5753 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.3364, allocations: 134.1 kB / 0.5754 GB, free: 28.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.3365, allocations: 321.2 kB / 0.5757 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.3368, allocations: 120.2 kB / 0.5759 GB, free: 27.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.3371, allocations: 171.6 kB / 0.576 GB, free: 27.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3374, allocations: 278.4 kB / 0.5763 GB, free: 27.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3374, allocations: 0 / 0.5763 GB, free: 27.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007711/0.3382, allocations: 491.1 kB / 0.5768 GB, free: 27.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.18e-05/0.3383, allocations: 93.53 kB / 0.5769 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3383, allocations: 2.344 kB / 0.5769 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3383, allocations: 7.578 kB / 0.5769 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3385, allocations: 31.36 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3385, allocations: 2.922 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.339, allocations: 57.23 kB / 0.5769 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.3391, allocations: 62.03 kB / 0.577 GB, free: 27.37 MB / 446.1 MB 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.0002354/0.3394, allocations: 195.5 kB / 0.5772 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.3394, allocations: 40.25 kB / 0.5772 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.3395, allocations: 42.19 kB / 0.5773 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3395, allocations: 3.156 kB / 0.5773 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3395, allocations: 0.9375 kB / 0.5773 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3395, allocations: 2.625 kB / 0.5773 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.3417, allocations: 0.7497 MB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3417, allocations: 1.469 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.3417, allocations: 8.875 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3418, allocations: 1.844 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.3418, allocations: 19.55 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3418, allocations: 1.375 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3418, allocations: 0.6094 kB / 0.578 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3435, allocations: 485.2 kB / 0.5785 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3438, allocations: 199.2 kB / 0.5787 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.3438, allocations: 11.31 kB / 0.5787 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.3443, allocations: 36.58 kB / 0.5787 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.3444, allocations: 7.375 kB / 0.5787 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.3444, allocations: 58.11 kB / 0.5788 GB, free: 26.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.3447, allocations: 297.7 kB / 0.5791 GB, free: 26.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 0 / 0.5791 GB, free: 26.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.3452, allocations: 65.94 kB / 0.5792 GB, free: 26.28 MB / 446.1 MB 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.0001254/0.3453, allocations: 114.9 kB / 0.5793 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3466, allocations: 454.8 kB / 0.5797 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3466, allocations: 2.031 kB / 0.5797 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007745/0.3474, allocations: 118.9 kB / 0.5798 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3478, allocations: 34.56 kB / 0.5798 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3492, allocations: 0.5969 MB / 0.5804 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.3494, allocations: 0.7711 MB / 0.5812 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3495, allocations: 14.72 kB / 0.5812 GB, free: 24.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3495, allocations: 0 / 0.5812 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Templates: time 0.005367/0.3549, allocations: 3.724 MB / 0.5848 GB, free: 22.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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)