Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_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.007062/0.007062, allocations: 102 kB / 15.73 MB, free: 6.051 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.001244/0.001244, allocations: 195 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7754/0.7754, allocations: 132.2 MB / 422.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 67.89 kB / 0.5808 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4665, allocations: 80.2 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002683/0.4693, allocations: 1.474 MB / 0.6606 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.4703, allocations: 425.3 kB / 0.661 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4704, allocations: 0 / 0.661 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.4706, allocations: 11.28 kB / 0.661 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.4707, allocations: 22.23 kB / 0.661 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.4715, allocations: 238.6 kB / 0.6613 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.472, allocations: 320.8 kB / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.155e-05/0.4721, allocations: 5.516 kB / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.4726, allocations: 194.4 kB / 0.6618 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.473, allocations: 111 kB / 0.6619 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.4731, allocations: 17.25 kB / 0.6619 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.4732, allocations: 18.41 kB / 0.6619 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.4733, allocations: 87.7 kB / 0.662 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.4735, allocations: 120.2 kB / 0.6621 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.4741, allocations: 284.2 kB / 0.6624 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4741, allocations: 0 / 0.6624 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4741, allocations: 0 / 0.6624 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.4741, allocations: 0 / 0.6624 GB, free: 7.945 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.001403/0.4755, allocations: 0.6928 MB / 0.663 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4756, allocations: 9.125 kB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.4756, allocations: 45.3 kB / 0.6631 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4757, allocations: 34.66 kB / 0.6631 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.4761, allocations: 258.6 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.4761, allocations: 23.81 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.4762, allocations: 19.34 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.4765, allocations: 147.2 kB / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4765, allocations: 0 / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.4766, allocations: 5.562 kB / 0.6636 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4766, allocations: 5.422 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.4767, allocations: 42.89 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.477, allocations: 311.3 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.4772, allocations: 134.1 kB / 0.664 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.4774, allocations: 57.39 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4774, allocations: 2.969 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.4778, allocations: 217.6 kB / 0.6643 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.4778, allocations: 0 / 0.6643 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005724/0.4784, allocations: 272.8 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.4784, allocations: 60.34 kB / 0.6646 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4787, allocations: 293.8 kB / 0.6649 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.4788, allocations: 40.5 kB / 0.6649 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.4788, allocations: 90.48 kB / 0.665 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.4789, allocations: 50.91 kB / 0.6651 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4791, allocations: 103.3 kB / 0.6652 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.4792, allocations: 329.1 kB / 0.6655 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4794, allocations: 87.12 kB / 0.6656 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4796, allocations: 155.2 kB / 0.6657 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4799, allocations: 241.8 kB / 0.6659 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4799, allocations: 1.312 kB / 0.6659 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006055/0.4805, allocations: 416.5 kB / 0.6663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.4806, allocations: 70.17 kB / 0.6664 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4806, allocations: 9.094 kB / 0.6664 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4806, allocations: 3.438 kB / 0.6664 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4808, allocations: 32.41 kB / 0.6665 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4808, allocations: 7.625 kB / 0.6665 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4814, allocations: 55.36 kB / 0.6665 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.4815, allocations: 49.92 kB / 0.6666 GB, free: 4.629 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.0001845/0.4817, allocations: 172.7 kB / 0.6667 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.4817, allocations: 32.09 kB / 0.6668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.4818, allocations: 32.19 kB / 0.6668 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4818, allocations: 6.125 kB / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4818, allocations: 0 / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4818, allocations: 5.391 kB / 0.6668 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.4826, allocations: 0.5579 MB / 0.6673 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4826, allocations: 0 / 0.6673 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.4826, allocations: 10.64 kB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4826, allocations: 1.062 kB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4827, allocations: 18.14 kB / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4827, allocations: 1.281 kB / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4827, allocations: 0 / 0.6674 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.4831, allocations: 324.2 kB / 0.6677 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4832, allocations: 151.7 kB / 0.6678 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.4833, allocations: 8.344 kB / 0.6678 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4835, allocations: 17.42 kB / 0.6678 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4835, allocations: 13.23 kB / 0.6679 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.4836, allocations: 38.91 kB / 0.6679 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001669/0.4838, allocations: 206.1 kB / 0.6681 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4838, allocations: 0 / 0.6681 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003296/0.4841, allocations: 50.27 kB / 0.6681 GB, free: 3.418 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.0005581/0.4847, allocations: 0.8727 MB / 0.669 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.4852, allocations: 340.5 kB / 0.6693 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4852, allocations: 0 / 0.6693 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4853, allocations: 72.67 kB / 0.6694 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.4857, allocations: 24.81 kB / 0.6694 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.4882, allocations: 2.395 MB / 0.6718 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.4885, allocations: 0.7429 MB / 0.6725 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.4886, allocations: 39.8 kB / 0.6725 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4888, allocations: 47.64 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4888, allocations: 4 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.5143, allocations: 5.373 MB / 0.6778 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.353, allocations: 15.2 kB / 0.6778 GB, free: 12.96 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)