Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_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.006671/0.006671, allocations: 107.4 kB / 15.74 MB, free: 5.984 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.001332/0.001332, allocations: 196.9 kB / 16.67 MB, free: 5.906 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 0.5808 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.398, allocations: 80.2 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002332/0.4004, allocations: 1.469 MB / 0.6606 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4015, allocations: 432 kB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.4016, allocations: 0 / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.4017, allocations: 5.344 kB / 0.661 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.4018, allocations: 22.91 kB / 0.661 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.4025, allocations: 251.5 kB / 0.6613 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.4028, allocations: 312.2 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.4029, allocations: 9.219 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.4031, allocations: 193.2 kB / 0.6618 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.4034, allocations: 111.7 kB / 0.6619 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.4034, allocations: 19.25 kB / 0.6619 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.4035, allocations: 21.94 kB / 0.6619 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4036, allocations: 81.59 kB / 0.662 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.4037, allocations: 122.1 kB / 0.6621 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.4041, allocations: 283.5 kB / 0.6624 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.4041, allocations: 0 / 0.6624 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4041, allocations: 0 / 0.6624 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4041, allocations: 0 / 0.6624 GB, free: 7.973 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.001041/0.4051, allocations: 0.7005 MB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4052, allocations: 9.344 kB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.4052, allocations: 41.33 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.4053, allocations: 31.34 kB / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4056, allocations: 262.5 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4056, allocations: 11.97 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.4057, allocations: 21.73 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.4059, allocations: 149.1 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.4059, allocations: 4 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.406, allocations: 5.188 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.406, allocations: 2.812 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4061, allocations: 44.56 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.4064, allocations: 308.2 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.4067, allocations: 129.3 kB / 0.664 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4068, allocations: 63.2 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4068, allocations: 1.469 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.4072, allocations: 221.5 kB / 0.6643 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.4072, allocations: 1.125 kB / 0.6643 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005292/0.4078, allocations: 270.8 kB / 0.6646 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4078, allocations: 64.89 kB / 0.6646 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.408, allocations: 290.9 kB / 0.6649 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.4081, allocations: 36.05 kB / 0.6649 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.4081, allocations: 93.84 kB / 0.665 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.4082, allocations: 46.41 kB / 0.6651 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4083, allocations: 107.8 kB / 0.6652 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.4084, allocations: 326.7 kB / 0.6655 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4086, allocations: 90.95 kB / 0.6656 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4088, allocations: 149.7 kB / 0.6657 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4091, allocations: 242.6 kB / 0.666 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4091, allocations: 1.688 kB / 0.666 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000589/0.4097, allocations: 419.3 kB / 0.6664 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.4097, allocations: 70.67 kB / 0.6664 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4097, allocations: 1.312 kB / 0.6664 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4098, allocations: 3.875 kB / 0.6664 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4099, allocations: 35.78 kB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4099, allocations: 3.75 kB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.4105, allocations: 55.45 kB / 0.6665 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.4105, allocations: 53.89 kB / 0.6666 GB, free: 4.648 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.0001445/0.4107, allocations: 177.5 kB / 0.6667 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.4107, allocations: 31.73 kB / 0.6668 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.4108, allocations: 32.25 kB / 0.6668 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4108, allocations: 5.156 kB / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4108, allocations: 1.469 kB / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4108, allocations: 0 / 0.6668 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.4115, allocations: 0.5624 MB / 0.6674 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.4115, allocations: 0 / 0.6674 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.4116, allocations: 10.3 kB / 0.6674 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4116, allocations: 1.438 kB / 0.6674 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.4116, allocations: 17.48 kB / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4116, allocations: 1.312 kB / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4116, allocations: 0 / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.412, allocations: 320.2 kB / 0.6677 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.4121, allocations: 155.5 kB / 0.6678 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.4122, allocations: 12.55 kB / 0.6678 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4124, allocations: 12.77 kB / 0.6679 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.4124, allocations: 13.61 kB / 0.6679 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.4125, allocations: 30.8 kB / 0.6679 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001447/0.4126, allocations: 210 kB / 0.6681 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4126, allocations: 0 / 0.6681 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003357/0.413, allocations: 46.47 kB / 0.6681 GB, free: 3.441 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.0005308/0.4135, allocations: 0.8702 MB / 0.669 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.414, allocations: 347.1 kB / 0.6693 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.414, allocations: 0 / 0.6693 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4141, allocations: 77.42 kB / 0.6694 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.4145, allocations: 26.44 kB / 0.6694 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.4169, allocations: 2.389 MB / 0.6718 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4172, allocations: 0.7423 MB / 0.6725 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000121/0.4173, allocations: 44.11 kB / 0.6725 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4174, allocations: 51.69 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.4174, allocations: 0 / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.4432, allocations: 5.379 MB / 0.6778 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.496, allocations: 9.797 kB / 0.6778 GB, free: 12.98 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)