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.0007969/0.0007969, allocations: 90.52 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.005479/0.00548, allocations: 171.1 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.357/1.357, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 15.92 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4177, allocations: 81.56 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001703/0.4194, allocations: 1.205 MB / 0.5849 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.4205, allocations: 440.7 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.4206, allocations: 0 / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.706e-05/0.4207, allocations: 7.422 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4208, allocations: 19.52 kB / 0.5854 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.4214, allocations: 223.8 kB / 0.5856 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.4217, allocations: 292.6 kB / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.4218, allocations: 6.719 kB / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.4221, allocations: 212.9 kB / 0.5861 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.4224, allocations: 119.2 kB / 0.5862 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.4224, allocations: 9 kB / 0.5862 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.4225, allocations: 10.28 kB / 0.5862 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.4226, allocations: 75.56 kB / 0.5863 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.4228, allocations: 143.4 kB / 0.5864 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.4232, allocations: 279.3 kB / 0.5867 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4232, allocations: 0.9062 kB / 0.5867 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4232, allocations: 0.5625 kB / 0.5867 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.4232, allocations: 0 / 0.5867 GB, free: 2.352 MB / 430.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.001012/0.4242, allocations: 0.6195 MB / 0.5873 GB, free: 1.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4243, allocations: 8.844 kB / 0.5873 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.4243, allocations: 40.14 kB / 0.5873 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.4244, allocations: 34.19 kB / 0.5874 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4247, allocations: 265 kB / 0.5876 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.4247, allocations: 9.719 kB / 0.5876 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.4248, allocations: 23.39 kB / 0.5876 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.4252, allocations: 144.9 kB / 0.5878 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4252, allocations: 5.375 kB / 0.5878 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.4252, allocations: 5.219 kB / 0.5878 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4253, allocations: 2.031 kB / 0.5878 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.4254, allocations: 48.98 kB / 0.5878 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.4258, allocations: 315.9 kB / 0.5881 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.4261, allocations: 132.7 kB / 0.5883 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.4262, allocations: 56.34 kB / 0.5883 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4262, allocations: 6.719 kB / 0.5883 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.4267, allocations: 230.9 kB / 0.5885 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.4268, allocations: 0 / 0.5885 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006172/0.4274, allocations: 267.5 kB / 0.5888 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4274, allocations: 62.22 kB / 0.5889 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.4277, allocations: 291.1 kB / 0.5891 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.4278, allocations: 38.16 kB / 0.5892 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.4279, allocations: 99.78 kB / 0.5893 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.4279, allocations: 39.25 kB / 0.5893 GB, free: 476 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.428, allocations: 35.08 kB / 0.5893 GB, free: 452 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.4281, allocations: 325.1 kB / 0.5896 GB, free: 124 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.4283, allocations: 91.22 kB / 0.5897 GB, free: 96 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4286, allocations: 144.6 kB / 0.5899 GB, free: 8 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.4289, allocations: 247.4 kB / 0.5901 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.429, allocations: 8.656 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007483/0.4297, allocations: 410.2 kB / 0.5905 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.4298, allocations: 76.86 kB / 0.5906 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4298, allocations: 1.375 kB / 0.5906 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4298, allocations: 7.391 kB / 0.5906 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.43, allocations: 27.19 kB / 0.5906 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.43, allocations: 2.781 kB / 0.5906 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.4306, allocations: 69.31 kB / 0.5907 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.82e-05/0.4307, allocations: 54.8 kB / 0.5907 GB, free: 15.54 MB / 446.1 MB 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.0004084/0.4311, allocations: 172.1 kB / 0.5909 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.4311, allocations: 28.27 kB / 0.5909 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.4312, allocations: 36.28 kB / 0.591 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4312, allocations: 2.078 kB / 0.591 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4312, allocations: 0 / 0.591 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.4312, allocations: 1.938 kB / 0.591 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.4322, allocations: 0.5646 MB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4322, allocations: 1.547 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.4323, allocations: 11.27 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4323, allocations: 1.703 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.4323, allocations: 15.73 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4324, allocations: 1.375 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4324, allocations: 0 / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.4329, allocations: 323 kB / 0.5919 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.4332, allocations: 163.3 kB / 0.592 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.4332, allocations: 9.719 kB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.4335, allocations: 11.39 kB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4335, allocations: 20.89 kB / 0.5921 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.4336, allocations: 29.77 kB / 0.5921 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4338, allocations: 207.2 kB / 0.5923 GB, free: 14.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4338, allocations: 0 / 0.5923 GB, free: 14.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.4341, allocations: 48 kB / 0.5923 GB, free: 14.51 MB / 446.1 MB 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.0008293/0.435, allocations: 0.8753 MB / 0.5932 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.4358, allocations: 345.5 kB / 0.5935 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4358, allocations: 0.7812 kB / 0.5935 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4359, allocations: 71.38 kB / 0.5936 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4363, allocations: 24.98 kB / 0.5936 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.4401, allocations: 2.456 MB / 0.596 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.4406, allocations: 0.7456 MB / 0.5967 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.4407, allocations: 34.47 kB / 0.5968 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4409, allocations: 46.59 kB / 0.5968 GB, free: 11.01 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4409, allocations: 0 / 0.5968 GB, free: 11.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3917/0.8326, allocations: 4.98 MB / 0.6017 GB, free: 9.082 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.833, allocations: 194.7 kB / 0.6019 GB, free: 8.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.395, allocations: 3.938 kB / 0.6019 GB, free: 8.824 MB / 446.1 MB (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)