Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005277/0.005282, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001318/0.001318, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 0.5862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4265, allocations: 81.02 MB / 0.6653 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002611/0.4291, allocations: 1.474 MB / 0.6668 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4303, allocations: 426 kB / 0.6672 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.4303, allocations: 1.281 kB / 0.6672 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.4305, allocations: 11.88 kB / 0.6672 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.4306, allocations: 23.62 kB / 0.6672 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.4313, allocations: 236.2 kB / 0.6674 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.4317, allocations: 315.9 kB / 0.6677 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.4317, allocations: 9.109 kB / 0.6677 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.432, allocations: 195.2 kB / 0.6679 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.4322, allocations: 113 kB / 0.668 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.4323, allocations: 22.31 kB / 0.6681 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.4324, allocations: 22.81 kB / 0.6681 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4325, allocations: 76.47 kB / 0.6682 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.4327, allocations: 124.4 kB / 0.6683 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.433, allocations: 278.7 kB / 0.6685 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.433, allocations: 1.062 kB / 0.6685 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.433, allocations: 0 / 0.6685 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.433, allocations: 0 / 0.6685 GB, free: 5.051 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.001079/0.4341, allocations: 0.7032 MB / 0.6692 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4341, allocations: 9.094 kB / 0.6692 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.4342, allocations: 39.62 kB / 0.6693 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.4345, allocations: 262.4 kB / 0.6695 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.4345, allocations: 12.44 kB / 0.6695 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.4346, allocations: 22.11 kB / 0.6696 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.4349, allocations: 144.5 kB / 0.6697 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4349, allocations: 5.188 kB / 0.6697 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.435, allocations: 1.094 kB / 0.6697 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.435, allocations: 5.344 kB / 0.6697 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.4351, allocations: 49.3 kB / 0.6697 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.4354, allocations: 312.2 kB / 0.67 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.4357, allocations: 133.4 kB / 0.6702 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4358, allocations: 54.33 kB / 0.6702 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4358, allocations: 10.91 kB / 0.6702 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.4363, allocations: 222.1 kB / 0.6704 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.4363, allocations: 0 / 0.6704 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000559/0.4368, allocations: 276.7 kB / 0.6707 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4369, allocations: 59.7 kB / 0.6708 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.4371, allocations: 291.4 kB / 0.671 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4371, allocations: 36.39 kB / 0.6711 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.4372, allocations: 92.84 kB / 0.6712 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.4372, allocations: 43.78 kB / 0.6712 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.4374, allocations: 111.1 kB / 0.6713 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.4375, allocations: 323 kB / 0.6716 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.4377, allocations: 102 kB / 0.6717 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.4379, allocations: 143.5 kB / 0.6719 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.4382, allocations: 238.5 kB / 0.6721 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4382, allocations: 1.219 kB / 0.6721 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006875/0.4389, allocations: 408.7 kB / 0.6725 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.439, allocations: 80.25 kB / 0.6726 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.439, allocations: 1.719 kB / 0.6726 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.439, allocations: 6.656 kB / 0.6726 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4392, allocations: 28.33 kB / 0.6726 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4392, allocations: 6.766 kB / 0.6726 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.4397, allocations: 59.34 kB / 0.6727 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/0.4398, allocations: 54.52 kB / 0.6727 GB, free: 1.754 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.0001472/0.4399, allocations: 173.2 kB / 0.6729 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.44, allocations: 31.69 kB / 0.6729 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.44, allocations: 28.38 kB / 0.6729 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.44, allocations: 2.094 kB / 0.6729 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.44, allocations: 0 / 0.6729 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.44, allocations: 5.172 kB / 0.6729 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.4407, allocations: 0.5611 MB / 0.6735 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4407, allocations: 1.344 kB / 0.6735 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.4408, allocations: 13.41 kB / 0.6735 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4408, allocations: 4.984 kB / 0.6735 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4408, allocations: 10.89 kB / 0.6735 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4408, allocations: 1.25 kB / 0.6735 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4408, allocations: 0 / 0.6735 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.4412, allocations: 327.8 kB / 0.6738 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4413, allocations: 156.1 kB / 0.674 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.4414, allocations: 15.61 kB / 0.674 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4416, allocations: 11 kB / 0.674 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.4417, allocations: 27.08 kB / 0.674 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.4417, allocations: 27.95 kB / 0.6741 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001559/0.4419, allocations: 209.7 kB / 0.6743 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4419, allocations: 0 / 0.6743 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002973/0.4422, allocations: 50.84 kB / 0.6743 GB, free: 0.5273 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.0001083/0.4423, allocations: 110 kB / 0.6744 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.4428, allocations: 350.5 kB / 0.6747 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4428, allocations: 0 / 0.6747 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.443, allocations: 75.28 kB / 0.6748 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4433, allocations: 23.56 kB / 0.6748 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.444, allocations: 385.4 kB / 0.6752 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4444, allocations: 0.7489 MB / 0.6759 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.4445, allocations: 35.34 kB / 0.676 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4447, allocations: 36.78 kB / 0.676 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4447, allocations: 0 / 0.676 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.007811/0.4525, allocations: 4.076 MB / 0.68 GB, free: 13.1 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)