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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006497/0.006497, allocations: 101.3 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.001296/0.001296, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8203/0.8203, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.5813 GB, free: 7.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5096, allocations: 80.2 MB / 0.6596 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002707/0.5123, allocations: 1.479 MB / 0.6611 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.5135, allocations: 429.8 kB / 0.6615 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.5136, allocations: 1.375 kB / 0.6615 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.5137, allocations: 5.344 kB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.5139, allocations: 19.84 kB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.5148, allocations: 244.8 kB / 0.6617 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000514/0.5153, allocations: 316.2 kB / 0.662 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.5154, allocations: 10.14 kB / 0.6621 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.5157, allocations: 189.8 kB / 0.6622 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.516, allocations: 114.7 kB / 0.6623 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.5161, allocations: 18.72 kB / 0.6624 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.5162, allocations: 21.78 kB / 0.6624 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5163, allocations: 85.66 kB / 0.6625 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.5165, allocations: 119.1 kB / 0.6626 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.5168, allocations: 274.1 kB / 0.6628 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5168, allocations: 0 / 0.6628 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5168, allocations: 0 / 0.6628 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5168, allocations: 5.219 kB / 0.6628 GB, free: 8.34 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.001258/0.5181, allocations: 0.7006 MB / 0.6635 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5181, allocations: 8.969 kB / 0.6635 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5183, allocations: 34.56 kB / 0.6636 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.5185, allocations: 259.7 kB / 0.6638 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.5186, allocations: 11.84 kB / 0.6638 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.5186, allocations: 22.12 kB / 0.6639 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.5189, allocations: 144.9 kB / 0.664 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5189, allocations: 0 / 0.664 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.519, allocations: 9.266 kB / 0.664 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.519, allocations: 1.562 kB / 0.664 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.5191, allocations: 45.59 kB / 0.664 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.5194, allocations: 312.3 kB / 0.6643 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5197, allocations: 133.6 kB / 0.6645 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.5198, allocations: 61.75 kB / 0.6645 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.5199, allocations: 2.844 kB / 0.6645 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.5203, allocations: 217.3 kB / 0.6647 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.5203, allocations: 0.9688 kB / 0.6647 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005791/0.5209, allocations: 271.4 kB / 0.665 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.5209, allocations: 64.86 kB / 0.6651 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.5212, allocations: 294.8 kB / 0.6653 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.5212, allocations: 36.42 kB / 0.6654 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.5213, allocations: 94.11 kB / 0.6655 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.5213, allocations: 41.8 kB / 0.6655 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.5215, allocations: 108.6 kB / 0.6656 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.5215, allocations: 325.1 kB / 0.6659 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.5217, allocations: 91.58 kB / 0.666 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.522, allocations: 148.6 kB / 0.6661 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.5222, allocations: 248 kB / 0.6664 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5223, allocations: 0 / 0.6664 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006275/0.5229, allocations: 416.7 kB / 0.6668 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.523, allocations: 75.09 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.523, allocations: 1.219 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.523, allocations: 3.406 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5232, allocations: 29.17 kB / 0.6669 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5232, allocations: 6.438 kB / 0.6669 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.5237, allocations: 55.27 kB / 0.6669 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.5238, allocations: 58.28 kB / 0.667 GB, free: 5.051 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.0001557/0.524, allocations: 169.4 kB / 0.6672 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.524, allocations: 35.5 kB / 0.6672 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.5241, allocations: 31.59 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5241, allocations: 6.594 kB / 0.6672 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5241, allocations: 0 / 0.6672 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.5241, allocations: 5.453 kB / 0.6672 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.5248, allocations: 0.5535 MB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5248, allocations: 1.562 kB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.5249, allocations: 10 kB / 0.6678 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5249, allocations: 0 / 0.6678 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.5249, allocations: 18.22 kB / 0.6678 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5249, allocations: 5.094 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5249, allocations: 1.344 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.5253, allocations: 324.2 kB / 0.6681 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5254, allocations: 150.5 kB / 0.6683 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.5255, allocations: 7.75 kB / 0.6683 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5257, allocations: 17.86 kB / 0.6683 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.5258, allocations: 16.84 kB / 0.6683 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.5258, allocations: 35.83 kB / 0.6683 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001618/0.526, allocations: 209.1 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.526, allocations: 0 / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000339/0.5264, allocations: 45.84 kB / 0.6686 GB, free: 3.844 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.0001142/0.5265, allocations: 118.5 kB / 0.6687 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.527, allocations: 346.6 kB / 0.669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.527, allocations: 8 kB / 0.669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5271, allocations: 69.47 kB / 0.6691 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.5275, allocations: 28.64 kB / 0.6691 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.5282, allocations: 386.1 kB / 0.6695 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.5284, allocations: 0.7439 MB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000119/0.5285, allocations: 39.27 kB / 0.6703 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5286, allocations: 35.67 kB / 0.6703 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5286, allocations: 1.031 kB / 0.6703 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.009338/0.5379, allocations: 4.072 MB / 0.6743 GB, free: 416 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)