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.001039/0.001039, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.01051/0.01051, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005647/0.0005647, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2308, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002103/0.233, allocations: 1.188 MB / 0.5892 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2342, allocations: 439.4 kB / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.2342, allocations: 0 / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2344, allocations: 3.938 kB / 0.5897 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2345, allocations: 24.28 kB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.2353, allocations: 223.8 kB / 0.5899 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.2356, allocations: 283.9 kB / 0.5902 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.2357, allocations: 12 kB / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.236, allocations: 210.3 kB / 0.5904 GB, free: 160 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2363, allocations: 123.6 kB / 0.5905 GB, free: 36 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.2363, allocations: 8 kB / 0.5905 GB, free: 28 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.724e-05/0.2364, allocations: 12 kB / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2365, allocations: 71.78 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2367, allocations: 145.1 kB / 0.5907 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.237, allocations: 287.2 kB / 0.591 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2371, allocations: 4 kB / 0.591 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2371, allocations: 0 / 0.591 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2371, allocations: 0 / 0.591 GB, free: 15.51 MB / 0.4981 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.001245/0.2383, allocations: 0.6119 MB / 0.5916 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2384, allocations: 12.03 kB / 0.5916 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.2385, allocations: 34.56 kB / 0.5916 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.865e-05/0.2386, allocations: 35.7 kB / 0.5917 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.2389, allocations: 262.3 kB / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.239, allocations: 11.98 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.239, allocations: 16 kB / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.2393, allocations: 153.5 kB / 0.5921 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2394, allocations: 0 / 0.5921 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.2394, allocations: 7.875 kB / 0.5921 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2394, allocations: 4 kB / 0.5921 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2395, allocations: 43.97 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.2399, allocations: 313.3 kB / 0.5924 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2402, allocations: 142.6 kB / 0.5926 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2404, allocations: 52.83 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2404, allocations: 4 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.241, allocations: 227.4 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.2411, allocations: 0 / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006773/0.2417, allocations: 271.4 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.2418, allocations: 59.41 kB / 0.5932 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.2422, allocations: 294.9 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.2423, allocations: 37.7 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.2424, allocations: 97.05 kB / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.2424, allocations: 35.59 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.2425, allocations: 41.69 kB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2426, allocations: 322.8 kB / 0.594 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.2429, allocations: 92.12 kB / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.2431, allocations: 154.4 kB / 0.5942 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.2435, allocations: 239.1 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2435, allocations: 7.938 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007303/0.2443, allocations: 418.1 kB / 0.5948 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.2444, allocations: 75.39 kB / 0.5949 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2444, allocations: 0 / 0.5949 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2444, allocations: 7.938 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2446, allocations: 27.91 kB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2447, allocations: 4 kB / 0.5949 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.2452, allocations: 71.98 kB / 0.595 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.2453, allocations: 55.98 kB / 0.5951 GB, free: 11.01 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.0002649/0.2456, allocations: 172 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.2457, allocations: 27.62 kB / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.2457, allocations: 38.19 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2458, allocations: 0 / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2458, allocations: 0 / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2458, allocations: 0 / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.2468, allocations: 0.5628 MB / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2468, allocations: 3.984 kB / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.2468, allocations: 4 kB / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2468, allocations: 8 kB / 0.5959 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2469, allocations: 7.984 kB / 0.5959 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2469, allocations: 7.875 kB / 0.5959 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2469, allocations: 4 kB / 0.5959 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.2474, allocations: 319 kB / 0.5962 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2476, allocations: 160.6 kB / 0.5963 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.2476, allocations: 8 kB / 0.5963 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2478, allocations: 15.98 kB / 0.5963 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.2479, allocations: 19.92 kB / 0.5964 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.248, allocations: 31.97 kB / 0.5964 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002666/0.2482, allocations: 205.9 kB / 0.5966 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2483, allocations: 0 / 0.5966 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003088/0.2486, allocations: 51.98 kB / 0.5966 GB, free: 9.285 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.0008001/0.2494, allocations: 0.8703 MB / 0.5975 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.25, allocations: 342.5 kB / 0.5978 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.25, allocations: 0 / 0.5978 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2501, allocations: 75.91 kB / 0.5979 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2505, allocations: 24.59 kB / 0.5979 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.2539, allocations: 2.456 MB / 0.6003 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.2544, allocations: 0.7488 MB / 0.601 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.2545, allocations: 41.42 kB / 0.6011 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2547, allocations: 51.34 kB / 0.6011 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.2547, allocations: 0 / 0.6011 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5133/0.768, allocations: 4.981 MB / 0.606 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.7683, allocations: 202.1 kB / 0.6062 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.846, allocations: 0 / 0.6062 GB, free: 48.34 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)