Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.008057/0.008056, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001987/0.001987, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.88 kB / 0.5857 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3881, allocations: 81.03 MB / 0.6648 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002229/0.3904, allocations: 1.468 MB / 0.6663 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.3912, allocations: 418.5 kB / 0.6667 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.3913, allocations: 5.562 kB / 0.6667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.3914, allocations: 11.86 kB / 0.6667 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.3915, allocations: 20.14 kB / 0.6667 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.3921, allocations: 241.2 kB / 0.6669 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.3924, allocations: 315.9 kB / 0.6672 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3925, allocations: 13.11 kB / 0.6673 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3927, allocations: 191.1 kB / 0.6674 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3929, allocations: 109.3 kB / 0.6675 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.393, allocations: 17.91 kB / 0.6676 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.393, allocations: 18.38 kB / 0.6676 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.3931, allocations: 88.86 kB / 0.6677 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.3933, allocations: 124.5 kB / 0.6678 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3935, allocations: 279.4 kB / 0.668 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3935, allocations: 0 / 0.668 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3935, allocations: 0 / 0.668 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3936, allocations: 0 / 0.668 GB, free: 4.758 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.0009996/0.3946, allocations: 0.699 MB / 0.6687 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3946, allocations: 9.062 kB / 0.6687 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3946, allocations: 46.45 kB / 0.6688 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.3947, allocations: 33.81 kB / 0.6688 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.395, allocations: 267.5 kB / 0.6691 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.395, allocations: 16.03 kB / 0.6691 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.395, allocations: 17.86 kB / 0.6691 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3953, allocations: 147.6 kB / 0.6692 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3953, allocations: 0 / 0.6692 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3953, allocations: 1.281 kB / 0.6692 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3953, allocations: 1.219 kB / 0.6692 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3955, allocations: 45.78 kB / 0.6693 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.3957, allocations: 316.7 kB / 0.6696 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.396, allocations: 137.8 kB / 0.6697 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3961, allocations: 57.89 kB / 0.6698 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3962, allocations: 6.359 kB / 0.6698 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.3966, allocations: 219.4 kB / 0.67 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3966, allocations: 1.844 kB / 0.67 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005872/0.3972, allocations: 268.5 kB / 0.6702 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3972, allocations: 64.05 kB / 0.6703 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3975, allocations: 290.8 kB / 0.6706 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3976, allocations: 40.36 kB / 0.6706 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.3976, allocations: 90.12 kB / 0.6707 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3977, allocations: 54.7 kB / 0.6708 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.3978, allocations: 104.2 kB / 0.6709 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.3979, allocations: 321.6 kB / 0.6712 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3981, allocations: 98.83 kB / 0.6713 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3984, allocations: 151.4 kB / 0.6714 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3987, allocations: 235.9 kB / 0.6716 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3987, allocations: 0 / 0.6716 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006403/0.3993, allocations: 417.3 kB / 0.672 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.3994, allocations: 75.28 kB / 0.6721 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3994, allocations: 1.188 kB / 0.6721 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3994, allocations: 3.594 kB / 0.6721 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3996, allocations: 23.92 kB / 0.6721 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3996, allocations: 11.42 kB / 0.6721 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.4001, allocations: 58.97 kB / 0.6722 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.4002, allocations: 54.64 kB / 0.6722 GB, free: 1.418 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.0001564/0.4004, allocations: 164.7 kB / 0.6724 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4004, allocations: 36.56 kB / 0.6724 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.4005, allocations: 31.5 kB / 0.6725 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4005, allocations: 10.42 kB / 0.6725 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4005, allocations: 0 / 0.6725 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4005, allocations: 1.125 kB / 0.6725 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.4012, allocations: 0.5648 MB / 0.673 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4012, allocations: 0 / 0.673 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.4013, allocations: 10.67 kB / 0.673 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4013, allocations: 0 / 0.673 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4013, allocations: 10.48 kB / 0.6731 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4013, allocations: 5.344 kB / 0.6731 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4013, allocations: 4 kB / 0.6731 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.4017, allocations: 326.2 kB / 0.6734 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4018, allocations: 155 kB / 0.6735 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.4019, allocations: 13.2 kB / 0.6735 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4021, allocations: 9.734 kB / 0.6735 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4022, allocations: 20.3 kB / 0.6736 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4022, allocations: 30.67 kB / 0.6736 GB, free: 352 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001583/0.4024, allocations: 210.2 kB / 0.6738 GB, free: 208 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4024, allocations: 0 / 0.6738 GB, free: 208 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003015/0.4027, allocations: 50.5 kB / 0.6738 GB, free: 200 kB / 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.0007887/0.4035, allocations: 0.8708 MB / 0.6747 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.4041, allocations: 339.1 kB / 0.675 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4041, allocations: 0 / 0.675 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.4042, allocations: 76.27 kB / 0.6751 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.4046, allocations: 26.84 kB / 0.6751 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.4078, allocations: 2.395 MB / 0.6775 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4082, allocations: 0.7394 MB / 0.6782 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.4083, allocations: 43.16 kB / 0.6782 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4084, allocations: 53.09 kB / 0.6783 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4085, allocations: 4 kB / 0.6783 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4359, allocations: 5.267 MB / 0.6834 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.583, allocations: 8.75 kB / 0.6834 GB, free: 9.801 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)