Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.001003/0.001003, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001096/0.001096, allocations: 172.7 kB / 15.95 MB, free: 208 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.41/1.41, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9855/0.9855, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 9.375 kB / 0.5071 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 82.3 MB / 0.5875 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002042/0.2035, allocations: 1.176 MB / 0.5886 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.2045, allocations: 409.8 kB / 0.589 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.2046, allocations: 3.938 kB / 0.589 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.296e-05/0.2047, allocations: 0 / 0.589 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2049, allocations: 23.84 kB / 0.589 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.2057, allocations: 210.8 kB / 0.5892 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.2061, allocations: 239.5 kB / 0.5895 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.2062, allocations: 8 kB / 0.5895 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.2066, allocations: 223.6 kB / 0.5897 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.207, allocations: 127.7 kB / 0.5898 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.207, allocations: 12 kB / 0.5898 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.2071, allocations: 11.94 kB / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2072, allocations: 79.83 kB / 0.5899 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.2073, allocations: 69.52 kB / 0.59 GB, free: 448 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2076, allocations: 195.8 kB / 0.5901 GB, free: 252 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2076, allocations: 4 kB / 0.5901 GB, free: 248 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2076, allocations: 0 / 0.5901 GB, free: 248 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.2076, allocations: 7.938 kB / 0.5902 GB, free: 240 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.001185/0.2088, allocations: 0.618 MB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2088, allocations: 8.031 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.2089, allocations: 42.55 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.209, allocations: 31.67 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.2093, allocations: 250.5 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.2094, allocations: 16 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.2095, allocations: 19.94 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2099, allocations: 149.5 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2099, allocations: 3.938 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2099, allocations: 3.984 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.21, allocations: 0 / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.2101, allocations: 47.97 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.2105, allocations: 309.3 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2108, allocations: 130.7 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.211, allocations: 61.14 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.211, allocations: 4 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.2115, allocations: 211.6 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.707e-06/0.2115, allocations: 3.984 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000608/0.2121, allocations: 271.2 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2122, allocations: 63.38 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.2126, allocations: 294.8 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.2126, allocations: 37.7 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.2127, allocations: 93.12 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.2128, allocations: 39.52 kB / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2128, allocations: 8 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.2131, allocations: 330.8 kB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2133, allocations: 92.17 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.2136, allocations: 142.4 kB / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.2138, allocations: 165.9 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2138, allocations: 0 / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007592/0.2146, allocations: 411 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.2147, allocations: 79.56 kB / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2147, allocations: 4 kB / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2147, allocations: 0 / 0.5939 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2149, allocations: 31.92 kB / 0.594 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2149, allocations: 0 / 0.594 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2154, allocations: 86.66 kB / 0.594 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.2155, allocations: 51.98 kB / 0.5941 GB, free: 11.89 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.000193/0.2157, allocations: 168 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.2158, allocations: 23.72 kB / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.2158, allocations: 34.25 kB / 0.5943 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2158, allocations: 3.984 kB / 0.5943 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2159, allocations: 4 kB / 0.5943 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2159, allocations: 4 kB / 0.5943 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.2167, allocations: 0.5606 MB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2167, allocations: 4 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.2167, allocations: 7.984 kB / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2167, allocations: 4 kB / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.2168, allocations: 11.98 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2168, allocations: 4 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2168, allocations: 0 / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.2172, allocations: 325 kB / 0.5952 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.2174, allocations: 156.7 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.2174, allocations: 11.98 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2176, allocations: 15.98 kB / 0.5954 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.2177, allocations: 11.98 kB / 0.5954 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.2178, allocations: 35.97 kB / 0.5954 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001886/0.218, allocations: 201.9 kB / 0.5956 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.218, allocations: 4 kB / 0.5956 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003224/0.2183, allocations: 55.94 kB / 0.5957 GB, free: 10.16 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.0007904/0.2191, allocations: 0.8623 MB / 0.5965 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005701/0.2197, allocations: 348.2 kB / 0.5969 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2197, allocations: 0 / 0.5969 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2199, allocations: 70.31 kB / 0.5969 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2202, allocations: 20.88 kB / 0.5969 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.2223, allocations: 1.169 MB / 0.5981 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2228, allocations: 0.7477 MB / 0.5988 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.2229, allocations: 41.41 kB / 0.5989 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.2231, allocations: 47.42 kB / 0.5989 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.2231, allocations: 0 / 0.5989 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2414, allocations: 4.978 MB / 0.6038 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.2416, allocations: 176 kB / 0.6039 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.093, allocations: 0 / 0.6039 GB, free: 1.695 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: