Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.89/1.89, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.41/1.41, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 9.406 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3727, allocations: 82.32 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003813/0.3766, allocations: 1.171 MB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3786, allocations: 391.2 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3788, allocations: 0 / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.556e-05/0.3789, allocations: 7.922 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.3792, allocations: 19.97 kB / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3806, allocations: 209.1 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.3811, allocations: 151.7 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3812, allocations: 8 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.3818, allocations: 163.7 kB / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.3823, allocations: 119.7 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.3824, allocations: 8 kB / 0.5895 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.3825, allocations: 12 kB / 0.5895 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.3828, allocations: 75.78 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.383, allocations: 69.58 kB / 0.5896 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.3834, allocations: 203.8 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3834, allocations: 0 / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3834, allocations: 4 kB / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.3835, allocations: 0 / 0.5898 GB, free: 468 kB / 494.1 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.002142/0.3856, allocations: 0.6141 MB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.443e-05/0.3857, allocations: 12.03 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3858, allocations: 38.55 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.3861, allocations: 31.72 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.3867, allocations: 254.4 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.3868, allocations: 19.94 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3869, allocations: 15.98 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.3875, allocations: 145.5 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3875, allocations: 3.938 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.3876, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3876, allocations: 4 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.3879, allocations: 43.97 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.3887, allocations: 317.3 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.3892, allocations: 138.6 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.3893, allocations: 4 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.3903, allocations: 215.9 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.3903, allocations: 0 / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001341/0.3917, allocations: 267.4 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3918, allocations: 59.41 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.3925, allocations: 290.8 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.3926, allocations: 41.7 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3928, allocations: 89.14 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.393, allocations: 47.5 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.393, allocations: 11.94 kB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.3933, allocations: 326.8 kB / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.3938, allocations: 88.17 kB / 0.5928 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3943, allocations: 150.4 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.395, allocations: 156.1 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.395, allocations: 0 / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001623/0.3967, allocations: 416.1 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.3968, allocations: 71.39 kB / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.3969, allocations: 4.188 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.889e-05/0.3969, allocations: 7.938 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.3973, allocations: 27.97 kB / 0.5936 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.3974, allocations: 7.938 kB / 0.5936 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/0.3983, allocations: 75.8 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.3985, allocations: 51.98 kB / 0.5937 GB, free: 12.18 MB / 0.4981 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 () * Number of clocked 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.0004572/0.399, allocations: 177.8 kB / 0.5938 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3991, allocations: 23.72 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3992, allocations: 30.25 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3993, allocations: 0 / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.3993, allocations: 0 / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3993, allocations: 0 / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.4009, allocations: 0.5645 MB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4009, allocations: 4 kB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.401, allocations: 11.88 kB / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.401, allocations: 0 / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.4011, allocations: 19.97 kB / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4011, allocations: 0 / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4011, allocations: 0 / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.4019, allocations: 325.4 kB / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.4023, allocations: 148.7 kB / 0.5949 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4024, allocations: 11.94 kB / 0.5949 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.4028, allocations: 15.98 kB / 0.595 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4029, allocations: 15.97 kB / 0.595 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.403, allocations: 31.98 kB / 0.595 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004515/0.4035, allocations: 213.9 kB / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4035, allocations: 0 / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007385/0.4043, allocations: 48 kB / 0.5953 GB, free: 10.46 MB / 0.4981 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) * Number of clocked states: 0 () * 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.001605/0.4059, allocations: 0.8705 MB / 0.5961 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.4072, allocations: 342.8 kB / 0.5964 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4072, allocations: 384 / 0.5964 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.4075, allocations: 79.89 kB / 0.5965 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.408, allocations: 16.88 kB / 0.5965 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.4115, allocations: 1.605 MB / 0.5981 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.4127, allocations: 0.7493 MB / 0.5988 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.4131, allocations: 33.44 kB / 0.5989 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.4134, allocations: 47.41 kB / 0.5989 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.336e-06/0.4135, allocations: 4 kB / 0.5989 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.4519, allocations: 4.945 MB / 0.6037 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004305/0.4524, allocations: 180.1 kB / 0.6039 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.211, allocations: 0 / 0.6039 GB, free: 1.57 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: