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.005317/0.005322, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001227/0.001227, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9191/0.9191, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 55.91 kB / 0.5851 GB, free: 3.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4579, allocations: 80.91 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00288/0.4608, allocations: 1.474 MB / 0.6656 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.4617, allocations: 431.2 kB / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.4617, allocations: 0 / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.4618, allocations: 13.08 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4619, allocations: 20.05 kB / 0.666 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.4625, allocations: 238 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.4628, allocations: 316.5 kB / 0.6665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.4629, allocations: 8.703 kB / 0.6665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.4631, allocations: 190.8 kB / 0.6667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4633, allocations: 111.9 kB / 0.6668 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.4634, allocations: 22.5 kB / 0.6668 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.4634, allocations: 22.59 kB / 0.6669 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4636, allocations: 76.7 kB / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4637, allocations: 124.4 kB / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.464, allocations: 279.9 kB / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.464, allocations: 0 / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.464, allocations: 0 / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.464, allocations: 5.156 kB / 0.6673 GB, free: 4.941 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.001/0.465, allocations: 0.6963 MB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.465, allocations: 9.812 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.4651, allocations: 41.36 kB / 0.6681 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.4652, allocations: 30.5 kB / 0.6681 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4654, allocations: 263.6 kB / 0.6683 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4654, allocations: 16.25 kB / 0.6684 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.4655, allocations: 18.11 kB / 0.6684 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.4657, allocations: 152 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4657, allocations: 0 / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.4658, allocations: 1.688 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4658, allocations: 5.406 kB / 0.6685 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4659, allocations: 45.78 kB / 0.6686 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.4662, allocations: 312.1 kB / 0.6689 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.4664, allocations: 130.7 kB / 0.669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4665, allocations: 58.02 kB / 0.669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.4666, allocations: 9.016 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.467, allocations: 220.9 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.467, allocations: 0 / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000505/0.4675, allocations: 269.1 kB / 0.6695 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.4675, allocations: 61.17 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4677, allocations: 290.4 kB / 0.6699 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4678, allocations: 39.7 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.4678, allocations: 93.66 kB / 0.67 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.4679, allocations: 46.91 kB / 0.67 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.468, allocations: 107.7 kB / 0.6701 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.4681, allocations: 322.4 kB / 0.6704 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.4683, allocations: 99.23 kB / 0.6705 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.4685, allocations: 138.4 kB / 0.6707 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.4688, allocations: 244.2 kB / 0.6709 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4688, allocations: 5.219 kB / 0.6709 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005757/0.4694, allocations: 405.2 kB / 0.6713 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.4694, allocations: 81.47 kB / 0.6714 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4694, allocations: 6.062 kB / 0.6714 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4695, allocations: 3.031 kB / 0.6714 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4696, allocations: 24.58 kB / 0.6714 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4697, allocations: 10.66 kB / 0.6714 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.4701, allocations: 55.11 kB / 0.6715 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.4702, allocations: 58.67 kB / 0.6715 GB, free: 1.621 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.0001365/0.4703, allocations: 173.3 kB / 0.6717 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.4704, allocations: 31.41 kB / 0.6717 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.4704, allocations: 36.41 kB / 0.6717 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4705, allocations: 2.281 kB / 0.6718 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4705, allocations: 0 / 0.6718 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4705, allocations: 3.984 kB / 0.6718 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.4711, allocations: 0.5547 MB / 0.6723 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4711, allocations: 4 kB / 0.6723 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.4712, allocations: 14.67 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4712, allocations: 1.094 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.4712, allocations: 14.25 kB / 0.6723 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4712, allocations: 1.562 kB / 0.6723 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4712, allocations: 0 / 0.6723 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.4716, allocations: 325.7 kB / 0.6726 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4717, allocations: 154.8 kB / 0.6728 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.4718, allocations: 8.156 kB / 0.6728 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.472, allocations: 13.77 kB / 0.6728 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.4721, allocations: 20.97 kB / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.4721, allocations: 26.92 kB / 0.6729 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001483/0.4722, allocations: 210.4 kB / 0.6731 GB, free: 424 kB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-07/0.4723, allocations: 0 / 0.6731 GB, free: 424 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003032/0.4726, allocations: 50.62 kB / 0.6731 GB, free: 416 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.0007025/0.4733, allocations: 0.8678 MB / 0.674 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.4738, allocations: 342.3 kB / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4739, allocations: 0 / 0.6743 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.474, allocations: 73.88 kB / 0.6743 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4743, allocations: 25.55 kB / 0.6744 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.4773, allocations: 2.41 MB / 0.6767 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4776, allocations: 0.7395 MB / 0.6774 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.4777, allocations: 39.83 kB / 0.6775 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4778, allocations: 47.53 kB / 0.6775 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4779, allocations: 1.094 kB / 0.6775 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.5019, allocations: 5.274 MB / 0.6827 GB, free: 10 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.155, allocations: 5.656 kB / 0.6827 GB, free: 10 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)