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.001272/0.001272, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.508/0.508, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 108.6 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.658e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1557, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6686, allocations: 103.5 MB / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6689, allocations: 74.02 kB / 0.6547 GB, free: 6.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.6836, allocations: 4.561 MB / 0.6592 GB, free: 2.852 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6837, allocations: 0 / 0.6592 GB, free: 2.852 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.6837, allocations: 12 kB / 0.6592 GB, free: 2.84 MB / 458.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.0007388/0.6844, allocations: 0.6179 MB / 0.6598 GB, free: 2.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6845, allocations: 12.03 kB / 0.6598 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.6846, allocations: 35.66 kB / 0.6598 GB, free: 2.113 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.6849, allocations: 260.8 kB / 0.6601 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.685, allocations: 4 kB / 0.6601 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.685, allocations: 16.75 kB / 0.6601 GB, free: 1.809 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/0.6852, allocations: 41.42 kB / 0.6602 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.6854, allocations: 148.6 kB / 0.6603 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6854, allocations: 0 / 0.6603 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.6855, allocations: 3.5 kB / 0.6603 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.6855, allocations: 7.953 kB / 0.6603 GB, free: 1.645 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.6858, allocations: 295.6 kB / 0.6606 GB, free: 1.367 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.686, allocations: 107.4 kB / 0.6607 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.6861, allocations: 57.78 kB / 0.6607 GB, free: 1.238 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.6861, allocations: 4 kB / 0.6608 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.6864, allocations: 159 kB / 0.6609 GB, free: 1.094 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.6864, allocations: 0 / 0.6609 GB, free: 1.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004549/0.6868, allocations: 240 kB / 0.6611 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6869, allocations: 63.33 kB / 0.6612 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.6871, allocations: 244 kB / 0.6614 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.6872, allocations: 29.7 kB / 0.6615 GB, free: 0.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.6873, allocations: 104.2 kB / 0.6616 GB, free: 492 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.6873, allocations: 38.09 kB / 0.6616 GB, free: 460 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6873, allocations: 0 / 0.6616 GB, free: 460 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6875, allocations: 330.3 kB / 0.6619 GB, free: 128 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.6876, allocations: 72.98 kB / 0.662 GB, free: 80 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.6878, allocations: 124.2 kB / 0.6621 GB, free: 15.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.688, allocations: 76.97 kB / 0.6622 GB, free: 15.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.688, allocations: 0 / 0.6622 GB, free: 15.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005171/0.6885, allocations: 293.3 kB / 0.6624 GB, free: 15.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.6886, allocations: 78.34 kB / 0.6625 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6886, allocations: 0 / 0.6625 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6886, allocations: 4 kB / 0.6625 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6888, allocations: 26.73 kB / 0.6626 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6888, allocations: 4 kB / 0.6626 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.6891, allocations: 39.81 kB / 0.6626 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.6892, allocations: 43.11 kB / 0.6626 GB, free: 15.48 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 () * 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.0001322/0.6893, allocations: 131.4 kB / 0.6628 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000337/0.6897, allocations: 240.8 kB / 0.663 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.6897, allocations: 23.72 kB / 0.663 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.6898, allocations: 31.95 kB / 0.663 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6898, allocations: 0 / 0.663 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6898, allocations: 0 / 0.663 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.6898, allocations: 0 / 0.663 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.6905, allocations: 0.562 MB / 0.6636 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6905, allocations: 3.984 kB / 0.6636 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.6906, allocations: 4 kB / 0.6636 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6906, allocations: 0 / 0.6636 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.6906, allocations: 18.66 kB / 0.6636 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6906, allocations: 4 kB / 0.6636 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6906, allocations: 3.938 kB / 0.6636 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.691, allocations: 334.6 kB / 0.6639 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.6912, allocations: 162.3 kB / 0.6641 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.6912, allocations: 19.44 kB / 0.6641 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.6916, allocations: 27.97 kB / 0.6641 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.6917, allocations: 15.92 kB / 0.6642 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.6917, allocations: 42.97 kB / 0.6642 GB, free: 13.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.6919, allocations: 195.3 kB / 0.6644 GB, free: 13.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6919, allocations: 0 / 0.6644 GB, free: 13.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.6922, allocations: 52.38 kB / 0.6644 GB, free: 13.74 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) * 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.0006805/0.6929, allocations: 0.8973 MB / 0.6653 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.6933, allocations: 315 kB / 0.6656 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6934, allocations: 0 / 0.6656 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.6935, allocations: 66.28 kB / 0.6657 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.6937, allocations: 28.19 kB / 0.6657 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.6944, allocations: 318 kB / 0.666 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.6947, allocations: 0.7509 MB / 0.6667 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.6948, allocations: 8.781 kB / 0.6667 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.6948, allocations: 28.61 kB / 0.6668 GB, free: 11.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6948, allocations: 3.938 kB / 0.6668 GB, free: 11.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.7183, allocations: 4.525 MB / 0.6712 GB, free: 6.891 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.7186, allocations: 121.6 kB / 0.6713 GB, free: 6.703 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.248, allocations: 0 / 0.6713 GB, free: 6.703 MB / 474.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)