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.001398/0.001398, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001429/0.001429, allocations: 195.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.103/1.103, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.06 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2168, allocations: 80.92 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00344/0.2203, allocations: 1.537 MB / 0.5855 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2214, allocations: 418.1 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.2216, allocations: 0 / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2217, allocations: 7.922 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2219, allocations: 24.28 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.2227, allocations: 220.4 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.2232, allocations: 323.9 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.2233, allocations: 4 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.2237, allocations: 234.3 kB / 0.5867 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.224, allocations: 127.6 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.2241, allocations: 20 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.2241, allocations: 20 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2243, allocations: 79.78 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2245, allocations: 127.4 kB / 0.587 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.2248, allocations: 295.3 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2248, allocations: 4 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2248, allocations: 0 / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.2249, allocations: 0 / 0.5873 GB, free: 1.41 MB / 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.001334/0.2262, allocations: 0.688 MB / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2263, allocations: 16.02 kB / 0.588 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.2263, allocations: 38.56 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2264, allocations: 27.72 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.2268, allocations: 262.3 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2268, allocations: 15.94 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.2269, allocations: 23.98 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.2272, allocations: 153.5 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2272, allocations: 0 / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2273, allocations: 0 / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2273, allocations: 0 / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2274, allocations: 55.97 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.2279, allocations: 313.3 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2282, allocations: 130.6 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.2283, allocations: 56.83 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.2284, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.2289, allocations: 225.9 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.2289, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006946/0.2296, allocations: 273.2 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.2297, allocations: 67.25 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.2301, allocations: 290.9 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.2301, allocations: 41.69 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.2302, allocations: 89.14 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.2303, allocations: 43.5 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.2306, allocations: 109.7 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2307, allocations: 318.8 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.231, allocations: 100.1 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2313, allocations: 150.4 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.2317, allocations: 242.4 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2317, allocations: 3.938 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007976/0.2325, allocations: 417.3 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.2326, allocations: 77.41 kB / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2326, allocations: 0 / 0.5914 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.2327, allocations: 12.12 kB / 0.5914 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.2329, allocations: 23.92 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.2329, allocations: 4 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.2335, allocations: 63.78 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2336, allocations: 55.98 kB / 0.5915 GB, free: 12.76 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.2338, allocations: 168 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.2339, allocations: 23.72 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.234, allocations: 34.19 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.234, allocations: 4 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.234, allocations: 0 / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.234, allocations: 3.984 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.235, allocations: 0.5645 MB / 0.5923 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.235, allocations: 3.938 kB / 0.5923 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.2351, allocations: 8 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2351, allocations: 4 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2351, allocations: 11.97 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2351, allocations: 0 / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2351, allocations: 4 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2357, allocations: 321.4 kB / 0.5926 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.2359, allocations: 160.6 kB / 0.5928 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.236, allocations: 8 kB / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.2362, allocations: 11.98 kB / 0.5928 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.2363, allocations: 23.91 kB / 0.5928 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.2363, allocations: 27.98 kB / 0.5928 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002008/0.2365, allocations: 209.9 kB / 0.593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2365, allocations: 0 / 0.593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003237/0.2369, allocations: 52 kB / 0.5931 GB, free: 11.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008157/0.2377, allocations: 0.8696 MB / 0.5939 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006066/0.2383, allocations: 352.4 kB / 0.5943 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2383, allocations: 0 / 0.5943 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2385, allocations: 71.95 kB / 0.5943 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.2388, allocations: 24.88 kB / 0.5944 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.2425, allocations: 2.455 MB / 0.5968 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.2429, allocations: 0.7434 MB / 0.5975 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.2431, allocations: 45.41 kB / 0.5975 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.2433, allocations: 43.41 kB / 0.5976 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2433, allocations: 0 / 0.5976 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.2623, allocations: 5.227 MB / 0.6027 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.2625, allocations: 208.6 kB / 0.6029 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.391, allocations: 0 / 0.6029 GB, free: 0.9297 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/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)