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.001426/0.001426, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001568/0.001568, allocations: 196 kB / 17.31 MB, free: 5.613 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5176, allocations: 80.91 MB / 0.5858 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00304/0.5207, allocations: 1.476 MB / 0.5872 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.5217, allocations: 419.9 kB / 0.5876 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.5218, allocations: 0.7188 kB / 0.5876 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.5219, allocations: 9.156 kB / 0.5876 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.522, allocations: 24.62 kB / 0.5876 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.5227, allocations: 244.8 kB / 0.5879 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.523, allocations: 316.8 kB / 0.5882 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.5231, allocations: 18.36 kB / 0.5882 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.5233, allocations: 190.1 kB / 0.5884 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.5235, allocations: 109.9 kB / 0.5885 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.5236, allocations: 18.84 kB / 0.5885 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.5236, allocations: 17.69 kB / 0.5885 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5238, allocations: 77.69 kB / 0.5886 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.5239, allocations: 128.1 kB / 0.5887 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.5241, allocations: 284.8 kB / 0.589 GB, free: 23.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5241, allocations: 0 / 0.589 GB, free: 23.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5241, allocations: 0.9062 kB / 0.589 GB, free: 23.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.5242, allocations: 0 / 0.589 GB, free: 23.37 MB / 446.1 MB 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.001064/0.5252, allocations: 0.6973 MB / 0.5897 GB, free: 22.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5253, allocations: 14.17 kB / 0.5897 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.328e-05/0.5254, allocations: 28.66 kB / 0.5897 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.5257, allocations: 263.6 kB / 0.59 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.5257, allocations: 12.94 kB / 0.59 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.5258, allocations: 27.2 kB / 0.59 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.5261, allocations: 145.5 kB / 0.5901 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5261, allocations: 3.938 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.5261, allocations: 4 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5261, allocations: 0 / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5262, allocations: 47.97 kB / 0.5902 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.5265, allocations: 309.3 kB / 0.5905 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.5267, allocations: 137.4 kB / 0.5906 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5268, allocations: 60.81 kB / 0.5907 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.5269, allocations: 4 kB / 0.5907 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.5273, allocations: 212.3 kB / 0.5909 GB, free: 21.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.5273, allocations: 4 kB / 0.5909 GB, free: 21.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005538/0.5278, allocations: 271.3 kB / 0.5911 GB, free: 20.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5279, allocations: 63.3 kB / 0.5912 GB, free: 20.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.5282, allocations: 288.1 kB / 0.5915 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.5282, allocations: 33.7 kB / 0.5915 GB, free: 20.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.5283, allocations: 98 kB / 0.5916 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.5284, allocations: 43.44 kB / 0.5916 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5285, allocations: 106.8 kB / 0.5917 GB, free: 20.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.5286, allocations: 322.8 kB / 0.592 GB, free: 20 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.5288, allocations: 93.73 kB / 0.5921 GB, free: 19.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.529, allocations: 145.5 kB / 0.5923 GB, free: 19.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.5292, allocations: 250.6 kB / 0.5925 GB, free: 19.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5292, allocations: 0 / 0.5925 GB, free: 19.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005327/0.5298, allocations: 411.8 kB / 0.5929 GB, free: 19.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.5298, allocations: 83.31 kB / 0.593 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5299, allocations: 4.625 kB / 0.593 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5299, allocations: 4 kB / 0.593 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.53, allocations: 25.02 kB / 0.593 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5301, allocations: 3.984 kB / 0.593 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.5305, allocations: 59.48 kB / 0.5931 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.5306, allocations: 59.97 kB / 0.5931 GB, free: 18.82 MB / 446.1 MB 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.0001372/0.5307, allocations: 167.9 kB / 0.5933 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.5308, allocations: 27.66 kB / 0.5933 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.5308, allocations: 34.94 kB / 0.5934 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5308, allocations: 0 / 0.5934 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5308, allocations: 1.281 kB / 0.5934 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5309, allocations: 3.984 kB / 0.5934 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.5315, allocations: 0.5684 MB / 0.5939 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5315, allocations: 0 / 0.5939 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.5316, allocations: 8 kB / 0.5939 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5316, allocations: 0 / 0.5939 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5316, allocations: 17.88 kB / 0.5939 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5316, allocations: 4 kB / 0.5939 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5316, allocations: 3.938 kB / 0.594 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.532, allocations: 316.1 kB / 0.5943 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.5321, allocations: 160.6 kB / 0.5944 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.5322, allocations: 8 kB / 0.5944 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5324, allocations: 13.52 kB / 0.5944 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.5325, allocations: 19.97 kB / 0.5944 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.5325, allocations: 27.98 kB / 0.5945 GB, free: 17.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.5327, allocations: 207.3 kB / 0.5947 GB, free: 17.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5327, allocations: 4 kB / 0.5947 GB, free: 17.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.533, allocations: 48 kB / 0.5947 GB, free: 17.11 MB / 446.1 MB 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.000116/0.5331, allocations: 121.3 kB / 0.5948 GB, free: 16.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.5335, allocations: 344.6 kB / 0.5952 GB, free: 16.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5336, allocations: 0 / 0.5952 GB, free: 16.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.5337, allocations: 74.41 kB / 0.5952 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.534, allocations: 21.59 kB / 0.5953 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5346, allocations: 377.8 kB / 0.5956 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.5348, allocations: 0.7503 MB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.5349, allocations: 32.34 kB / 0.5964 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.535, allocations: 35.62 kB / 0.5964 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.535, allocations: 5.281 kB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.006042/0.5411, allocations: 4.069 MB / 0.6004 GB, free: 11.29 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)