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.001196/0.001196, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001181/0.001181, allocations: 195 kB / 17.98 MB, free: 5.027 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7344/0.7344, allocations: 115.1 MB / 407 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4165, allocations: 76.14 MB / 0.5576 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002781/0.4193, allocations: 1.471 MB / 0.559 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.4202, allocations: 437.9 kB / 0.5594 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.4203, allocations: 1.156 kB / 0.5594 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.123e-05/0.4204, allocations: 7.875 kB / 0.5594 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.715e-05/0.4205, allocations: 28.45 kB / 0.5594 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.4212, allocations: 244.5 kB / 0.5597 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.4215, allocations: 329.5 kB / 0.56 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.4216, allocations: 10.92 kB / 0.56 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.4218, allocations: 196.8 kB / 0.5602 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.4221, allocations: 116.2 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.4221, allocations: 19.59 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.4222, allocations: 20.06 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4223, allocations: 86.94 kB / 0.5604 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.4224, allocations: 127.8 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.4227, allocations: 284.9 kB / 0.5608 GB, free: 34.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4227, allocations: 1.188 kB / 0.5608 GB, free: 34.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4228, allocations: 1.828 kB / 0.5608 GB, free: 34.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4228, allocations: 0 / 0.5608 GB, free: 34.59 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.0009437/0.4237, allocations: 0.7387 MB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4238, allocations: 8.906 kB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.4239, allocations: 36.28 kB / 0.5616 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4242, allocations: 265.7 kB / 0.5618 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.4242, allocations: 15.64 kB / 0.5618 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.4243, allocations: 19.61 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.4252, allocations: 209.8 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4252, allocations: 0 / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4252, allocations: 1.766 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4252, allocations: 3.719 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.4259, allocations: 98.39 kB / 0.5622 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.4263, allocations: 313.8 kB / 0.5625 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/0.4272, allocations: 176.9 kB / 0.5626 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.4278, allocations: 109.1 kB / 0.5627 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4279, allocations: 3.125 kB / 0.5627 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.4287, allocations: 212.8 kB / 0.5629 GB, free: 33.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.4287, allocations: 0.5625 kB / 0.5629 GB, free: 33.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002266/0.431, allocations: 452 kB / 0.5634 GB, free: 33.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.431, allocations: 58.27 kB / 0.5634 GB, free: 33.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.4313, allocations: 289.4 kB / 0.5637 GB, free: 32.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4314, allocations: 38.06 kB / 0.5637 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.4314, allocations: 94.19 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4315, allocations: 47.12 kB / 0.5639 GB, free: 32.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.4316, allocations: 98.3 kB / 0.564 GB, free: 32.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.4317, allocations: 323.2 kB / 0.5643 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.4319, allocations: 81.64 kB / 0.5644 GB, free: 32.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.4321, allocations: 139 kB / 0.5645 GB, free: 32.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.4324, allocations: 238.9 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4324, allocations: 3.938 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006149/0.433, allocations: 390.5 kB / 0.5651 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.4331, allocations: 79.17 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4331, allocations: 2.25 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4331, allocations: 2.75 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4333, allocations: 23.41 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4333, allocations: 3 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.4337, allocations: 57.83 kB / 0.5653 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.4338, allocations: 39.28 kB / 0.5653 GB, free: 31.77 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.0001553/0.434, allocations: 177.5 kB / 0.5655 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.434, allocations: 26.28 kB / 0.5655 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.4341, allocations: 30.97 kB / 0.5655 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4341, allocations: 8.062 kB / 0.5655 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4341, allocations: 0 / 0.5655 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4341, allocations: 5.25 kB / 0.5655 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4361, allocations: 0.6904 MB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4361, allocations: 0.5 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.4361, allocations: 5.859 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4361, allocations: 2.094 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.4362, allocations: 15.95 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4362, allocations: 0.75 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4362, allocations: 1.156 kB / 0.5662 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.4377, allocations: 453.2 kB / 0.5667 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.4379, allocations: 159.1 kB / 0.5668 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.438, allocations: 11.94 kB / 0.5668 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4384, allocations: 33.72 kB / 0.5669 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.4385, allocations: 8.328 kB / 0.5669 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.4385, allocations: 48.95 kB / 0.5669 GB, free: 30.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4387, allocations: 209.6 kB / 0.5671 GB, free: 30.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4387, allocations: 0 / 0.5671 GB, free: 30.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.4391, allocations: 48.5 kB / 0.5672 GB, free: 30.75 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.0001103/0.4392, allocations: 117.9 kB / 0.5673 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.4402, allocations: 377.9 kB / 0.5676 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4403, allocations: 2.656 kB / 0.5676 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.441, allocations: 115.9 kB / 0.5677 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.4413, allocations: 33.14 kB / 0.5678 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4425, allocations: 431 kB / 0.5682 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.4427, allocations: 0.7432 MB / 0.5689 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.4427, allocations: 13.86 kB / 0.5689 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.4428, allocations: 15.66 kB / 0.5689 GB, free: 29.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4428, allocations: 3.938 kB / 0.5689 GB, free: 29.47 MB / 446.1 MB Notification: Performance of Templates: time 0.007966/0.4508, allocations: 3.644 MB / 0.5725 GB, free: 29.14 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)