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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 98.77 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.001679/0.001679, allocations: 177.3 kB / 15.94 MB, free: 228 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.93/1.93, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.552/1.552, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.0006242, allocations: 9.031 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2185, allocations: 82.32 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001409/0.22, allocations: 1.163 MB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.2207, allocations: 393.5 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.2208, allocations: 0 / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.2208, allocations: 7.922 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.2209, allocations: 19.97 kB / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.2215, allocations: 208.6 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2217, allocations: 155.7 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.2218, allocations: 4 kB / 0.5892 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.222, allocations: 163.7 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2222, allocations: 123.7 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2222, allocations: 8 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.2223, allocations: 12 kB / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.2224, allocations: 79.78 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.2225, allocations: 65.58 kB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2227, allocations: 203.8 kB / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2227, allocations: 0 / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2227, allocations: 0 / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2227, allocations: 0 / 0.5898 GB, free: 464 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.0009403/0.2236, allocations: 0.6219 MB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2237, allocations: 12.03 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.2237, allocations: 34.56 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.2238, allocations: 39.7 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.2241, allocations: 250.4 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2242, allocations: 11.98 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.2242, allocations: 19.94 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2245, allocations: 149.1 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.2245, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2245, allocations: 3.984 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2245, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.2247, allocations: 47.98 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.225, allocations: 313.4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.2252, allocations: 130.6 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2253, allocations: 4.375 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.2257, allocations: 223.5 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.2257, allocations: 0 / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005213/0.2262, allocations: 265.2 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2263, allocations: 63.39 kB / 0.5919 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.2265, allocations: 290.8 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.2266, allocations: 41.7 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.2266, allocations: 89.12 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.2267, allocations: 43.52 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.2267, allocations: 4 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2268, allocations: 330.8 kB / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2271, allocations: 92.11 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2273, allocations: 150.4 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2275, allocations: 154.4 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2276, allocations: 4 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006455/0.2282, allocations: 425 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.2283, allocations: 79.31 kB / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2283, allocations: 0 / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2283, allocations: 4 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2285, allocations: 23.98 kB / 0.5935 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2285, allocations: 7.938 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.229, allocations: 79.58 kB / 0.5936 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.2291, allocations: 47.98 kB / 0.5937 GB, free: 12.17 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.0001836/0.2293, allocations: 175.9 kB / 0.5938 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2293, allocations: 27.72 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.2294, allocations: 30.25 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2294, allocations: 7.984 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2294, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2294, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.2302, allocations: 0.5567 MB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2302, allocations: 0 / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.2303, allocations: 15.92 kB / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2303, allocations: 0 / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2303, allocations: 15.98 kB / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2303, allocations: 4 kB / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2303, allocations: 0 / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.2307, allocations: 321.1 kB / 0.5948 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.2309, allocations: 152.7 kB / 0.5949 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.231, allocations: 11.98 kB / 0.5949 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2312, allocations: 15.98 kB / 0.595 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2313, allocations: 11.98 kB / 0.595 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.2313, allocations: 39.97 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001724/0.2315, allocations: 201.9 kB / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.2315, allocations: 0 / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000308/0.2318, allocations: 55.92 kB / 0.5953 GB, free: 10.45 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.0006784/0.2325, allocations: 0.871 MB / 0.5961 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.233, allocations: 340 kB / 0.5964 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.233, allocations: 0 / 0.5964 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2332, allocations: 71.91 kB / 0.5965 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2334, allocations: 23.22 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.001252/0.2346, allocations: 1.599 MB / 0.5981 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.235, allocations: 0.7563 MB / 0.5988 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.2351, allocations: 37.42 kB / 0.5989 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.2353, allocations: 43.36 kB / 0.5989 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.2353, allocations: 0 / 0.5989 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2519, allocations: 4.941 MB / 0.6037 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.2522, allocations: 182.1 kB / 0.6039 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/2.962, allocations: 0 / 0.6039 GB, free: 1.566 MB / 0.4981 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) Environment - environmentSimulation: