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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5577/0.5577, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 102.5 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3294, allocations: 70.06 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002489/0.3319, allocations: 1.524 MB / 0.559 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.3328, allocations: 446.1 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.3328, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.3329, allocations: 3.938 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.333, allocations: 24.22 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.3336, allocations: 215.3 kB / 0.5596 GB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3338, allocations: 295.8 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.3338, allocations: 19.97 kB / 0.5599 GB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.334, allocations: 210.3 kB / 0.5601 GB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3342, allocations: 123.6 kB / 0.5603 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.3343, allocations: 8 kB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.3343, allocations: 12 kB / 0.5603 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.3344, allocations: 71.78 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3346, allocations: 123.3 kB / 0.5605 GB, free: 42.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3348, allocations: 281.2 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3348, allocations: 4 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3348, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3348, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 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.001082/0.3359, allocations: 0.698 MB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.336, allocations: 8.031 kB / 0.5614 GB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.3361, allocations: 31.72 kB / 0.5614 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3364, allocations: 270.2 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3364, allocations: 11.98 kB / 0.5617 GB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.3365, allocations: 20 kB / 0.5617 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.3368, allocations: 149.5 kB / 0.5619 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3368, allocations: 3.938 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3368, allocations: 0 / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3368, allocations: 4 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.337, allocations: 43.97 kB / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.3373, allocations: 309.3 kB / 0.5622 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3375, allocations: 130.6 kB / 0.5623 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3377, allocations: 60.83 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.3377, allocations: 3.984 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.3382, allocations: 224.1 kB / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.3382, allocations: 0 / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005468/0.3387, allocations: 275 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3388, allocations: 55.41 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.339, allocations: 287 kB / 0.5632 GB, free: 39.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3391, allocations: 41.69 kB / 0.5633 GB, free: 39.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.3391, allocations: 93.14 kB / 0.5633 GB, free: 38.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3392, allocations: 51.38 kB / 0.5634 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3394, allocations: 109.7 kB / 0.5635 GB, free: 38.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.3395, allocations: 318.8 kB / 0.5638 GB, free: 38.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3397, allocations: 96.11 kB / 0.5639 GB, free: 38.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.3399, allocations: 154.4 kB / 0.564 GB, free: 38.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3402, allocations: 235.9 kB / 0.5643 GB, free: 37.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3402, allocations: 8 kB / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005743/0.3408, allocations: 416.5 kB / 0.5647 GB, free: 37.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.3408, allocations: 79.38 kB / 0.5647 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3408, allocations: 4 kB / 0.5647 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3408, allocations: 3.938 kB / 0.5648 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.341, allocations: 27.92 kB / 0.5648 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.341, allocations: 0 / 0.5648 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.3415, allocations: 64.03 kB / 0.5648 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.3416, allocations: 55.98 kB / 0.5649 GB, free: 37.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001305/0.3417, allocations: 173.7 kB / 0.5651 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3417, allocations: 27.62 kB / 0.5651 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3418, allocations: 34.25 kB / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3418, allocations: 3.938 kB / 0.5651 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3418, allocations: 11.98 kB / 0.5651 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3418, allocations: 0 / 0.5651 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.3425, allocations: 0.5623 MB / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3425, allocations: 0 / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.3425, allocations: 4 kB / 0.5657 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3425, allocations: 7.984 kB / 0.5657 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3426, allocations: 7.984 kB / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3426, allocations: 4 kB / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3426, allocations: 0 / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.3431, allocations: 0.9434 MB / 0.5666 GB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3433, allocations: 156.6 kB / 0.5668 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.3433, allocations: 8 kB / 0.5668 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3435, allocations: 11.98 kB / 0.5668 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3436, allocations: 11.98 kB / 0.5668 GB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.3436, allocations: 35.97 kB / 0.5668 GB, free: 35.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3438, allocations: 213.9 kB / 0.567 GB, free: 34.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3438, allocations: 0 / 0.567 GB, free: 34.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.3442, allocations: 51.98 kB / 0.5671 GB, free: 34.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001125/0.3443, allocations: 108.9 kB / 0.5672 GB, free: 34.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3447, allocations: 340.5 kB / 0.5675 GB, free: 34.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3447, allocations: 384 / 0.5675 GB, free: 34.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3449, allocations: 79.89 kB / 0.5676 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3452, allocations: 22.14 kB / 0.5676 GB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.3458, allocations: 0.6095 MB / 0.5682 GB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.346, allocations: 0.7515 MB / 0.5689 GB, free: 32.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3461, allocations: 37.42 kB / 0.569 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3462, allocations: 35.42 kB / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3462, allocations: 0 / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of Templates: time 0.006179/0.3524, allocations: 4.162 MB / 0.5731 GB, free: 28.69 MB / 410.7 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)