Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.001199/0.001199, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4934/0.4934, allocations: 90.92 MB / 99.35 MB, free: 2.211 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.521/1.521, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.0009354/0.0009354, allocations: 90.48 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.914e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.151, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6668, allocations: 103.5 MB / 0.6547 GB, free: 6.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.6671, allocations: 65.78 kB / 0.6547 GB, free: 6.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.6817, allocations: 4.563 MB / 0.6592 GB, free: 2.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6817, allocations: 0 / 0.6592 GB, free: 2.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.6818, allocations: 8 kB / 0.6592 GB, free: 2.559 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.001062/0.6828, allocations: 0.619 MB / 0.6598 GB, free: 1.879 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6829, allocations: 12.02 kB / 0.6598 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.6831, allocations: 39.67 kB / 0.6599 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.6835, allocations: 252.7 kB / 0.6601 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.6836, allocations: 7.938 kB / 0.6601 GB, free: 1.543 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.6837, allocations: 15.98 kB / 0.6601 GB, free: 1.527 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/0.6838, allocations: 45.48 kB / 0.6602 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.6841, allocations: 142.1 kB / 0.6603 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6841, allocations: 0 / 0.6603 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.6842, allocations: 0 / 0.6603 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6842, allocations: 3.953 kB / 0.6603 GB, free: 1.371 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.6847, allocations: 305 kB / 0.6606 GB, free: 1.086 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6849, allocations: 107.4 kB / 0.6607 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.6851, allocations: 54.59 kB / 0.6607 GB, free: 0.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.6851, allocations: 0 / 0.6607 GB, free: 0.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.6854, allocations: 156.5 kB / 0.6609 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.6854, allocations: 0 / 0.6609 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005316/0.6859, allocations: 246 kB / 0.6611 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.686, allocations: 70.89 kB / 0.6612 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.6862, allocations: 237.1 kB / 0.6614 GB, free: 348 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.6863, allocations: 29.7 kB / 0.6614 GB, free: 312 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.6864, allocations: 101 kB / 0.6615 GB, free: 212 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.6865, allocations: 29.73 kB / 0.6616 GB, free: 188 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.6865, allocations: 7.938 kB / 0.6616 GB, free: 180 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6867, allocations: 330.2 kB / 0.6619 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.6868, allocations: 77.36 kB / 0.662 GB, free: 15.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.687, allocations: 120.8 kB / 0.6621 GB, free: 15.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.6872, allocations: 70.08 kB / 0.6622 GB, free: 15.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6872, allocations: 8 kB / 0.6622 GB, free: 15.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005522/0.6878, allocations: 299.6 kB / 0.6624 GB, free: 15.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.6879, allocations: 70.89 kB / 0.6625 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6879, allocations: 4 kB / 0.6625 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6879, allocations: 0 / 0.6625 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.6881, allocations: 27.36 kB / 0.6625 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6881, allocations: 4 kB / 0.6625 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.6884, allocations: 44 kB / 0.6626 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.6885, allocations: 47.73 kB / 0.6626 GB, free: 15.2 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0001299/0.6887, allocations: 122.7 kB / 0.6628 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000347/0.689, allocations: 241.9 kB / 0.663 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.6891, allocations: 23.72 kB / 0.663 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.6891, allocations: 28.89 kB / 0.663 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6891, allocations: 4 kB / 0.663 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6891, allocations: 0 / 0.663 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6892, allocations: 0 / 0.663 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.6899, allocations: 0.5672 MB / 0.6636 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6899, allocations: 4 kB / 0.6636 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.69, allocations: 4 kB / 0.6636 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.69, allocations: 0 / 0.6636 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.69, allocations: 19.59 kB / 0.6636 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.69, allocations: 4 kB / 0.6636 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.69, allocations: 0 / 0.6636 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.6904, allocations: 342.8 kB / 0.6639 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.6906, allocations: 158.4 kB / 0.6641 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.6907, allocations: 11.25 kB / 0.6641 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.6912, allocations: 35.97 kB / 0.6641 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.6912, allocations: 7.984 kB / 0.6642 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.6913, allocations: 47.22 kB / 0.6642 GB, free: 13.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.6915, allocations: 188.2 kB / 0.6644 GB, free: 13.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6915, allocations: 0 / 0.6644 GB, free: 13.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.6918, allocations: 55.55 kB / 0.6644 GB, free: 13.47 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0007219/0.6926, allocations: 0.898 MB / 0.6653 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.693, allocations: 316.4 kB / 0.6656 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.693, allocations: 0 / 0.6656 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.6931, allocations: 64.23 kB / 0.6657 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.6934, allocations: 16.42 kB / 0.6657 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.6942, allocations: 329.2 kB / 0.666 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6945, allocations: 0.7494 MB / 0.6667 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.6946, allocations: 16.77 kB / 0.6667 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.6947, allocations: 17.62 kB / 0.6668 GB, free: 11.14 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6947, allocations: 3.938 kB / 0.6668 GB, free: 11.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.7201, allocations: 4.49 MB / 0.6712 GB, free: 6.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.7204, allocations: 137.4 kB / 0.6713 GB, free: 6.469 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.227, allocations: 0 / 0.6713 GB, free: 6.469 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)