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.001126/0.001127, allocations: 182.2 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5611/0.5611, allocations: 92 MB / 108.5 MB, free: 13.1 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.637/1.637, allocations: 223.2 MB / 354.3 MB, free: 12.08 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.001071/0.001071, allocations: 107.1 kB / 427.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 8 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 72.3 MB / 0.5689 GB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5337/0.6866, allocations: 104.2 MB / 0.6706 GB, free: 308 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6869, allocations: 79.94 kB / 0.6707 GB, free: 228 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.7018, allocations: 4.58 MB / 0.6752 GB, free: 11.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.7018, allocations: 0 / 0.6752 GB, free: 11.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.7019, allocations: 8 kB / 0.6752 GB, free: 11.65 MB / 474.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.0009379/0.7028, allocations: 0.6611 MB / 0.6758 GB, free: 10.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7029, allocations: 12.03 kB / 0.6758 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.703, allocations: 39.58 kB / 0.6759 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.7034, allocations: 254.5 kB / 0.6761 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.7035, allocations: 11.98 kB / 0.6761 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.7035, allocations: 20 kB / 0.6761 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.7045, allocations: 205.5 kB / 0.6763 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7045, allocations: 0 / 0.6763 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.7046, allocations: 4 kB / 0.6763 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7046, allocations: 0 / 0.6763 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.7053, allocations: 115.9 kB / 0.6765 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.7057, allocations: 345.2 kB / 0.6768 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.7067, allocations: 182.5 kB / 0.677 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.7068, allocations: 0 / 0.677 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.7076, allocations: 215.2 kB / 0.6772 GB, free: 9.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.7076, allocations: 0 / 0.6772 GB, free: 9.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002377/0.71, allocations: 483.1 kB / 0.6776 GB, free: 8.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.7101, allocations: 63.39 kB / 0.6777 GB, free: 8.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.7104, allocations: 266 kB / 0.6779 GB, free: 8.598 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.7105, allocations: 37.7 kB / 0.678 GB, free: 8.555 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.7105, allocations: 89.14 kB / 0.6781 GB, free: 8.465 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.7106, allocations: 39.48 kB / 0.6781 GB, free: 8.426 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.7106, allocations: 4 kB / 0.6781 GB, free: 8.422 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7108, allocations: 330.8 kB / 0.6784 GB, free: 8.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.711, allocations: 87.94 kB / 0.6785 GB, free: 8.004 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.7113, allocations: 146.6 kB / 0.6786 GB, free: 7.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.7116, allocations: 151.3 kB / 0.6788 GB, free: 7.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7116, allocations: 0 / 0.6788 GB, free: 7.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008398/0.7125, allocations: 400.7 kB / 0.6792 GB, free: 7.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.459e-05/0.7126, allocations: 80.94 kB / 0.6792 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7126, allocations: 0 / 0.6792 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.7126, allocations: 4 kB / 0.6792 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.7128, allocations: 23.91 kB / 0.6793 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7128, allocations: 4 kB / 0.6793 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.7131, allocations: 52 kB / 0.6793 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.7132, allocations: 43.98 kB / 0.6794 GB, free: 7.055 MB / 474.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: 24 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.7134, allocations: 172 kB / 0.6795 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.7135, allocations: 31.56 kB / 0.6796 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.7136, allocations: 30.3 kB / 0.6796 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7136, allocations: 0 / 0.6796 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7136, allocations: 4 kB / 0.6796 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7136, allocations: 0 / 0.6796 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.7158, allocations: 0.709 MB / 0.6803 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7158, allocations: 0 / 0.6803 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.7158, allocations: 4 kB / 0.6803 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.7158, allocations: 4 kB / 0.6803 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.7159, allocations: 15.97 kB / 0.6803 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7159, allocations: 0 / 0.6803 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7159, allocations: 0 / 0.6803 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7177, allocations: 485.3 kB / 0.6808 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.7179, allocations: 152.7 kB / 0.6809 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.718, allocations: 8 kB / 0.6809 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.7184, allocations: 39.97 kB / 0.681 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.7185, allocations: 11.92 kB / 0.681 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.7186, allocations: 47.97 kB / 0.681 GB, free: 5.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.7188, allocations: 205.9 kB / 0.6812 GB, free: 5.055 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7188, allocations: 3.938 kB / 0.6812 GB, free: 5.051 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.7191, allocations: 52 kB / 0.6813 GB, free: 5 MB / 474.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.7193, allocations: 113 kB / 0.6814 GB, free: 4.883 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.7205, allocations: 402.5 kB / 0.6818 GB, free: 4.465 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7205, allocations: 0 / 0.6818 GB, free: 4.465 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.7213, allocations: 128.2 kB / 0.6819 GB, free: 4.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.7215, allocations: 20.59 kB / 0.6819 GB, free: 4.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.7229, allocations: 0.4942 MB / 0.6824 GB, free: 3.801 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.7232, allocations: 0.7438 MB / 0.6831 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.7233, allocations: 16.62 kB / 0.6831 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.7233, allocations: 15.44 kB / 0.6831 GB, free: 3 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7233, allocations: 4 kB / 0.6831 GB, free: 2.996 MB / 474.7 MB Notification: Performance of Templates: time 0.009764/0.7331, allocations: 3.936 MB / 0.687 GB, free: 15.06 MB / 490.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)