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.0009975/0.0009979, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 179.4 kB / 16.92 MB, free: 6.918 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7494/0.7494, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 8 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5244, allocations: 79.28 MB / 0.5707 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001998/0.5265, allocations: 1.223 MB / 0.5719 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.5279, allocations: 0.5891 MB / 0.5725 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.528, allocations: 0.8438 kB / 0.5725 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.5281, allocations: 7.062 kB / 0.5725 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.5283, allocations: 26.47 kB / 0.5725 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.5291, allocations: 288.4 kB / 0.5728 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.5297, allocations: 450.8 kB / 0.5732 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.5298, allocations: 6.672 kB / 0.5732 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.5303, allocations: 305.1 kB / 0.5735 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.5306, allocations: 165.3 kB / 0.5737 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.5307, allocations: 14.06 kB / 0.5737 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.5307, allocations: 14.09 kB / 0.5737 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.5309, allocations: 116.4 kB / 0.5738 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.5312, allocations: 207.1 kB / 0.574 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.5317, allocations: 409.4 kB / 0.5744 GB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5317, allocations: 1.312 kB / 0.5744 GB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5317, allocations: 0 / 0.5744 GB, free: 8.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.5317, allocations: 0 / 0.5744 GB, free: 8.879 MB / 430.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.001073/0.5328, allocations: 0.7567 MB / 0.5752 GB, free: 8.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5329, allocations: 9.406 kB / 0.5752 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.533, allocations: 51.25 kB / 0.5752 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5334, allocations: 303.1 kB / 0.5755 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.5334, allocations: 16.53 kB / 0.5755 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.5335, allocations: 30.3 kB / 0.5756 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5347, allocations: 229 kB / 0.5758 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5347, allocations: 2.125 kB / 0.5758 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.5348, allocations: 4.594 kB / 0.5758 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5348, allocations: 6.375 kB / 0.5758 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.5357, allocations: 117.9 kB / 0.5759 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.5362, allocations: 390.5 kB / 0.5763 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5374, allocations: 192.3 kB / 0.5765 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.5383, allocations: 122.5 kB / 0.5766 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.5383, allocations: 6.078 kB / 0.5766 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.5394, allocations: 234.4 kB / 0.5768 GB, free: 7.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.5394, allocations: 0 / 0.5768 GB, free: 7.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.003001/0.5424, allocations: 0.5129 MB / 0.5773 GB, free: 7.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5425, allocations: 64.27 kB / 0.5774 GB, free: 7.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.543, allocations: 411.6 kB / 0.5778 GB, free: 6.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.5431, allocations: 40.22 kB / 0.5778 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.5432, allocations: 91.06 kB / 0.5779 GB, free: 6.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.5433, allocations: 45.66 kB / 0.5779 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.5433, allocations: 37.34 kB / 0.578 GB, free: 6.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.5434, allocations: 325.7 kB / 0.5783 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.5437, allocations: 122.1 kB / 0.5784 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.544, allocations: 170.7 kB / 0.5785 GB, free: 6.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.5444, allocations: 277.6 kB / 0.5788 GB, free: 6.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5444, allocations: 0.8125 kB / 0.5788 GB, free: 6.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009161/0.5453, allocations: 496.4 kB / 0.5793 GB, free: 5.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/0.5454, allocations: 92.42 kB / 0.5794 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5454, allocations: 1.75 kB / 0.5794 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5455, allocations: 3.344 kB / 0.5794 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5456, allocations: 23.41 kB / 0.5794 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5457, allocations: 3.828 kB / 0.5794 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/0.5462, allocations: 70.8 kB / 0.5795 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.5464, allocations: 62.64 kB / 0.5795 GB, free: 5.84 MB / 430.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.0002443/0.5466, allocations: 192 kB / 0.5797 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.5467, allocations: 42.28 kB / 0.5798 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.5467, allocations: 40.7 kB / 0.5798 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5468, allocations: 3.25 kB / 0.5798 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5468, allocations: 4 kB / 0.5798 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5468, allocations: 0.6562 kB / 0.5798 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.5492, allocations: 0.7672 MB / 0.5806 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5492, allocations: 0 / 0.5806 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.5493, allocations: 4.531 kB / 0.5806 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5493, allocations: 1.375 kB / 0.5806 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.5493, allocations: 18.95 kB / 0.5806 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5493, allocations: 4.781 kB / 0.5806 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5494, allocations: 7.938 kB / 0.5806 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.5513, allocations: 497.3 kB / 0.5811 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.5516, allocations: 201.4 kB / 0.5813 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.5516, allocations: 10.36 kB / 0.5813 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.5522, allocations: 40.42 kB / 0.5813 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.5522, allocations: 8.703 kB / 0.5813 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.5523, allocations: 55.09 kB / 0.5814 GB, free: 4.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004013/0.5527, allocations: 298.2 kB / 0.5816 GB, free: 4.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5527, allocations: 0 / 0.5816 GB, free: 4.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000529/0.5533, allocations: 69.8 kB / 0.5817 GB, free: 4.738 MB / 430.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.0001507/0.5534, allocations: 117.8 kB / 0.5818 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.5549, allocations: 453 kB / 0.5823 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.555, allocations: 5.031 kB / 0.5823 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.5559, allocations: 126 kB / 0.5824 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.5563, allocations: 35.8 kB / 0.5824 GB, free: 4.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.5581, allocations: 0.6834 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5584, allocations: 0.7711 MB / 0.5838 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.5585, allocations: 16.17 kB / 0.5839 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.5585, allocations: 15.7 kB / 0.5839 GB, free: 3.254 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5585, allocations: 0 / 0.5839 GB, free: 3.254 MB / 430.1 MB Notification: Performance of Templates: time 0.01158/0.5701, allocations: 4.989 MB / 0.5887 GB, free: 2.254 MB / 430.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)