Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001163/0.001163, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7315/0.7315, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009831, allocations: 91.47 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.65e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6426/0.8231, allocations: 113.2 MB / 0.751 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.8234, allocations: 67.75 kB / 0.7511 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01366/0.837, allocations: 4.489 MB / 0.7555 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8371, allocations: 0 / 0.7555 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.156e-05/0.8371, allocations: 3.844 kB / 0.7555 GB, free: 27.46 MB / 0.5105 GB 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.001051/0.8382, allocations: 0.5859 MB / 0.756 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8382, allocations: 15.69 kB / 0.7561 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.8383, allocations: 38.11 kB / 0.7561 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.8385, allocations: 31.03 kB / 0.7561 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.8389, allocations: 251.8 kB / 0.7564 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.839, allocations: 11.38 kB / 0.7564 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.839, allocations: 23.2 kB / 0.7564 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.8393, allocations: 141.3 kB / 0.7565 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.8393, allocations: 0 / 0.7565 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.8394, allocations: 3.984 kB / 0.7565 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.8394, allocations: 3.938 kB / 0.7565 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.8395, allocations: 49.77 kB / 0.7566 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.8399, allocations: 328.7 kB / 0.7569 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.8402, allocations: 124.3 kB / 0.757 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.8403, allocations: 53.44 kB / 0.7571 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.8403, allocations: 7.828 kB / 0.7571 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.8407, allocations: 211.9 kB / 0.7573 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.8407, allocations: 0 / 0.7573 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005008/0.8413, allocations: 219.3 kB / 0.7575 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.8413, allocations: 74.12 kB / 0.7576 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.8416, allocations: 246.1 kB / 0.7578 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.8417, allocations: 43.02 kB / 0.7578 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.8418, allocations: 96.94 kB / 0.7579 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.8419, allocations: 36.98 kB / 0.758 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.8419, allocations: 7.781 kB / 0.758 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.842, allocations: 326 kB / 0.7583 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.8423, allocations: 93.69 kB / 0.7584 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.8425, allocations: 158.7 kB / 0.7585 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.8427, allocations: 150 kB / 0.7587 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8428, allocations: 4 kB / 0.7587 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006551/0.8434, allocations: 420.5 kB / 0.7591 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.8435, allocations: 70.92 kB / 0.7591 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.8435, allocations: 0 / 0.7591 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.8435, allocations: 3.812 kB / 0.7591 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.8437, allocations: 31.12 kB / 0.7592 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8438, allocations: 3.781 kB / 0.7592 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.8442, allocations: 49.91 kB / 0.7592 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.8443, allocations: 54.3 kB / 0.7593 GB, free: 24.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001852/0.8445, allocations: 137 kB / 0.7594 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.8445, allocations: 27.39 kB / 0.7594 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.8446, allocations: 31.06 kB / 0.7595 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8446, allocations: 4 kB / 0.7595 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8446, allocations: 0 / 0.7595 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8446, allocations: 3.938 kB / 0.7595 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.8455, allocations: 0.5573 MB / 0.76 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8455, allocations: 0 / 0.76 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.8455, allocations: 7.859 kB / 0.76 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.8456, allocations: 3.844 kB / 0.76 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.8456, allocations: 15.17 kB / 0.76 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8456, allocations: 0 / 0.76 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8456, allocations: 7.969 kB / 0.76 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.846, allocations: 314.3 kB / 0.7603 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.8462, allocations: 160.5 kB / 0.7605 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.8463, allocations: 7.625 kB / 0.7605 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.8464, allocations: 11.61 kB / 0.7605 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.8465, allocations: 19.09 kB / 0.7605 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.8466, allocations: 27.14 kB / 0.7606 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002307/0.8468, allocations: 207.2 kB / 0.7608 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8468, allocations: 0 / 0.7608 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003584/0.8472, allocations: 60.27 kB / 0.7608 GB, free: 23.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0007192/0.8479, allocations: 0.864 MB / 0.7617 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.8484, allocations: 346.9 kB / 0.762 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8485, allocations: 0 / 0.762 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.8486, allocations: 80.28 kB / 0.7621 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8489, allocations: 19.66 kB / 0.7621 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.8496, allocations: 340.5 kB / 0.7624 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.85, allocations: 0.7517 MB / 0.7631 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.8502, allocations: 40.48 kB / 0.7632 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.8503, allocations: 42.42 kB / 0.7632 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.8503, allocations: 0 / 0.7632 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.8705, allocations: 5.385 MB / 0.7685 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.8707, allocations: 153.1 kB / 0.7686 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.628, allocations: 0 / 0.7686 GB, free: 19.19 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)