Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_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.001261/0.001261, allocations: 174.6 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.7721/0.7721, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.668/1.668, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0009091/0.0009088, allocations: 105.4 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.517e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1861, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6347/0.8208, allocations: 113.1 MB / 0.751 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.8211, allocations: 70.78 kB / 0.751 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.8339, allocations: 4.488 MB / 0.7554 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8339, allocations: 0 / 0.7554 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.834, allocations: 3.812 kB / 0.7554 GB, free: 27.25 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.000853/0.8348, allocations: 0.5859 MB / 0.756 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8349, allocations: 11.66 kB / 0.756 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.835, allocations: 40.28 kB / 0.756 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.8351, allocations: 27.06 kB / 0.7561 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.8354, allocations: 258.9 kB / 0.7563 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.8354, allocations: 10.64 kB / 0.7563 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.8355, allocations: 17.17 kB / 0.7563 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.8358, allocations: 143.5 kB / 0.7565 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8358, allocations: 0 / 0.7565 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.8358, allocations: 3.938 kB / 0.7565 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.8358, allocations: 3.844 kB / 0.7565 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.836, allocations: 47.64 kB / 0.7565 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.8363, allocations: 328.6 kB / 0.7568 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.8365, allocations: 124.6 kB / 0.757 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.8366, allocations: 58.38 kB / 0.757 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.8366, allocations: 3.844 kB / 0.757 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.837, allocations: 218.5 kB / 0.7572 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.837, allocations: 0 / 0.7572 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004062/0.8374, allocations: 225.5 kB / 0.7574 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.8375, allocations: 55.31 kB / 0.7575 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.8377, allocations: 255 kB / 0.7577 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.8378, allocations: 38.95 kB / 0.7578 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.8379, allocations: 95.73 kB / 0.7579 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.8379, allocations: 38.83 kB / 0.7579 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.838, allocations: 10.92 kB / 0.7579 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8381, allocations: 322 kB / 0.7582 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.8383, allocations: 100.9 kB / 0.7583 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.8385, allocations: 150 kB / 0.7585 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.8387, allocations: 159 kB / 0.7586 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8387, allocations: 0 / 0.7586 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006171/0.8394, allocations: 417.3 kB / 0.759 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.8394, allocations: 73.52 kB / 0.7591 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8395, allocations: 0 / 0.7591 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8395, allocations: 7.828 kB / 0.7591 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.8396, allocations: 23.45 kB / 0.7591 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8397, allocations: 7.828 kB / 0.7591 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.84, allocations: 46.11 kB / 0.7592 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.8401, allocations: 57.53 kB / 0.7592 GB, free: 24.81 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.0001258/0.8402, allocations: 136.6 kB / 0.7593 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.8403, allocations: 23.19 kB / 0.7594 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.8403, allocations: 28.5 kB / 0.7594 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8403, allocations: 0 / 0.7594 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8404, allocations: 7.922 kB / 0.7594 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8404, allocations: 0 / 0.7594 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.8411, allocations: 0.5673 MB / 0.76 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8411, allocations: 4 kB / 0.76 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.8412, allocations: 7.625 kB / 0.76 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8412, allocations: 0 / 0.76 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.8412, allocations: 15.41 kB / 0.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8412, allocations: 0 / 0.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8412, allocations: 0 / 0.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.8416, allocations: 325.5 kB / 0.7603 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.8418, allocations: 158.2 kB / 0.7604 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.8418, allocations: 7.844 kB / 0.7604 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.842, allocations: 7.891 kB / 0.7605 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.8421, allocations: 23.44 kB / 0.7605 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.8421, allocations: 27.05 kB / 0.7605 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001669/0.8423, allocations: 202 kB / 0.7607 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8423, allocations: 0 / 0.7607 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002995/0.8426, allocations: 62.52 kB / 0.7608 GB, free: 23.82 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.0006776/0.8433, allocations: 0.8606 MB / 0.7616 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.8438, allocations: 338.5 kB / 0.7619 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8438, allocations: 384 / 0.7619 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.8439, allocations: 81.31 kB / 0.762 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.8441, allocations: 25.81 kB / 0.762 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.8448, allocations: 333.5 kB / 0.7623 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.8452, allocations: 0.7599 MB / 0.7631 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000131/0.8453, allocations: 36.33 kB / 0.7631 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.8455, allocations: 47.88 kB / 0.7632 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8455, allocations: 0 / 0.7632 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.8634, allocations: 5.362 MB / 0.7684 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.8636, allocations: 147.3 kB / 0.7685 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.5, allocations: 0 / 0.7685 GB, free: 19.07 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)