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: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 182.8 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.5939/0.5939, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.674/1.674, allocations: 223.1 MB / 354.3 MB, free: 12.21 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.001182/0.001182, allocations: 96.28 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 72.3 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6039/0.7869, allocations: 104.2 MB / 0.6707 GB, free: 200 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.7873, allocations: 75.95 kB / 0.6708 GB, free: 124 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.8021, allocations: 4.596 MB / 0.6752 GB, free: 11.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.8021, allocations: 0 / 0.6752 GB, free: 11.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.8022, allocations: 7.938 kB / 0.6752 GB, free: 11.54 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.0009568/0.8031, allocations: 0.6728 MB / 0.6759 GB, free: 10.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.8032, allocations: 8.031 kB / 0.6759 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.8033, allocations: 42.5 kB / 0.676 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.8034, allocations: 35.58 kB / 0.676 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.8038, allocations: 258.5 kB / 0.6762 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.8038, allocations: 12 kB / 0.6762 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.8039, allocations: 16 kB / 0.6763 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.8048, allocations: 205.5 kB / 0.6765 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8048, allocations: 0 / 0.6765 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.8049, allocations: 11.98 kB / 0.6765 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8049, allocations: 0 / 0.6765 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.8056, allocations: 111.8 kB / 0.6766 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.806, allocations: 333.3 kB / 0.6769 GB, free: 9.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8071, allocations: 186.5 kB / 0.6771 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.8071, allocations: 0 / 0.6771 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/0.808, allocations: 219.2 kB / 0.6773 GB, free: 9.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.808, allocations: 0 / 0.6773 GB, free: 9.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002541/0.8106, allocations: 481.7 kB / 0.6777 GB, free: 8.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.8107, allocations: 55.41 kB / 0.6778 GB, free: 8.699 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.811, allocations: 262 kB / 0.678 GB, free: 8.441 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.8111, allocations: 41.7 kB / 0.6781 GB, free: 8.395 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.8112, allocations: 93.12 kB / 0.6782 GB, free: 8.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.8112, allocations: 39.48 kB / 0.6782 GB, free: 8.262 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.8113, allocations: 11.98 kB / 0.6782 GB, free: 8.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8115, allocations: 326.8 kB / 0.6785 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.8117, allocations: 87.95 kB / 0.6786 GB, free: 7.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.812, allocations: 142.6 kB / 0.6787 GB, free: 7.676 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.8123, allocations: 155.3 kB / 0.6789 GB, free: 7.512 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.8123, allocations: 0 / 0.6789 GB, free: 7.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007877/0.8131, allocations: 409.5 kB / 0.6793 GB, free: 7.094 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.8132, allocations: 71.39 kB / 0.6794 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8132, allocations: 0 / 0.6794 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8132, allocations: 4 kB / 0.6794 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.8134, allocations: 19.92 kB / 0.6794 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8134, allocations: 4 kB / 0.6794 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.8138, allocations: 36.09 kB / 0.6794 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.8138, allocations: 51.92 kB / 0.6795 GB, free: 6.898 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.0002154/0.8141, allocations: 177.7 kB / 0.6796 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.8141, allocations: 27.62 kB / 0.6797 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.8142, allocations: 26.3 kB / 0.6797 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8142, allocations: 8 kB / 0.6797 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8142, allocations: 0 / 0.6797 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8142, allocations: 0 / 0.6797 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.8164, allocations: 0.7108 MB / 0.6804 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8164, allocations: 0 / 0.6804 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.8164, allocations: 7.984 kB / 0.6804 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8164, allocations: 7.938 kB / 0.6804 GB, free: 5.867 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.8165, allocations: 19.97 kB / 0.6804 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8165, allocations: 0 / 0.6804 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8165, allocations: 0 / 0.6804 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.8183, allocations: 470.9 kB / 0.6809 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.8185, allocations: 156.7 kB / 0.681 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.8186, allocations: 11.98 kB / 0.681 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.819, allocations: 31.97 kB / 0.6811 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.819, allocations: 15.98 kB / 0.6811 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.8191, allocations: 39.98 kB / 0.6811 GB, free: 5.102 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.8193, allocations: 205.9 kB / 0.6813 GB, free: 4.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.244e-06/0.8193, allocations: 0 / 0.6813 GB, free: 4.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.8197, allocations: 63.92 kB / 0.6814 GB, free: 4.836 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.001973/0.8216, allocations: 1.024 MB / 0.6824 GB, free: 3.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.8228, allocations: 398.8 kB / 0.6828 GB, free: 3.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8228, allocations: 4 kB / 0.6828 GB, free: 3.371 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.8235, allocations: 121.5 kB / 0.6829 GB, free: 3.254 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.8238, allocations: 22.48 kB / 0.6829 GB, free: 3.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.8258, allocations: 1.664 MB / 0.6845 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.8262, allocations: 0.7516 MB / 0.6853 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.8263, allocations: 8.656 kB / 0.6853 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.8263, allocations: 19.42 kB / 0.6853 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.8264, allocations: 0 / 0.6853 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.8457, allocations: 4.942 MB / 0.6901 GB, free: 11.85 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.846, allocations: 166.7 kB / 0.6903 GB, free: 11.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.546, allocations: 0 / 0.6903 GB, free: 11.61 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)