Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7514/0.7514, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5205 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.448e-05, allocations: 4.828 kB / 0.5205 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001965/0.00199, allocations: 1.554 MB / 0.5221 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.002946, allocations: 0.5438 MB / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.003018, allocations: 0 / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.003119, allocations: 7.875 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003224, allocations: 23.86 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.003938, allocations: 319.8 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.004367, allocations: 487.9 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.004408, allocations: 0 / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.004846, allocations: 364 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.005066, allocations: 125.2 kB / 0.5239 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.005114, allocations: 25.47 kB / 0.5239 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.005159, allocations: 28 kB / 0.5239 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.005262, allocations: 119.7 kB / 0.524 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.005375, allocations: 131.7 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.005681, allocations: 375.8 kB / 0.5245 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005684, allocations: 4 kB / 0.5245 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005684, allocations: 0.9375 kB / 0.5245 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.00569, allocations: 0 / 0.5245 GB, free: 14.28 MB / 0.4948 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.0008732/0.006563, allocations: 0.9082 MB / 0.5254 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.006598, allocations: 8.031 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.006715, allocations: 60.66 kB / 0.5255 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.00697, allocations: 262.8 kB / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.007005, allocations: 17.19 kB / 0.5257 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.007053, allocations: 28.36 kB / 0.5258 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.007414, allocations: 210 kB / 0.526 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.00742, allocations: 0.6875 kB / 0.526 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.007441, allocations: 5.297 kB / 0.526 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.007449, allocations: 4.375 kB / 0.526 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007552, allocations: 57.19 kB / 0.526 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.007866, allocations: 308.4 kB / 0.5263 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.008074, allocations: 132.5 kB / 0.5264 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.008172, allocations: 62.41 kB / 0.5265 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.008192, allocations: 5.172 kB / 0.5265 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.008394, allocations: 182.5 kB / 0.5267 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.008396, allocations: 0 / 0.5267 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005428/0.008939, allocations: 380.8 kB / 0.527 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.008975, allocations: 63.39 kB / 0.5271 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.009229, allocations: 422.7 kB / 0.5275 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.009264, allocations: 37.7 kB / 0.5275 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.009326, allocations: 148.1 kB / 0.5277 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.009361, allocations: 35.72 kB / 0.5277 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.009484, allocations: 139.1 kB / 0.5279 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.009591, allocations: 0.4884 MB / 0.5283 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.009807, allocations: 183.1 kB / 0.5285 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.01, allocations: 245.1 kB / 0.5287 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01023, allocations: 266.6 kB / 0.529 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01023, allocations: 4 kB / 0.529 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005605/0.0108, allocations: 0.5618 MB / 0.5295 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.01085, allocations: 79.38 kB / 0.5296 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01086, allocations: 0.7188 kB / 0.5296 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01087, allocations: 11.98 kB / 0.5296 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01101, allocations: 32.55 kB / 0.5297 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01101, allocations: 15.81 kB / 0.5297 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.0112, allocations: 45.77 kB / 0.5297 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.01125, allocations: 63.97 kB / 0.5298 GB, free: 8.566 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001292/0.01138, allocations: 179.2 kB / 0.53 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.01144, allocations: 48.31 kB / 0.53 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01148, allocations: 35.69 kB / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01148, allocations: 0.9062 kB / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01149, allocations: 0 / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01149, allocations: 8.453 kB / 0.53 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.01245, allocations: 0.6689 MB / 0.5307 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01246, allocations: 0 / 0.5307 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.01249, allocations: 11.92 kB / 0.5307 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01249, allocations: 0 / 0.5307 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.01252, allocations: 25.55 kB / 0.5307 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.01252, allocations: 3.984 kB / 0.5307 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01252, allocations: 0 / 0.5307 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.01293, allocations: 463 kB / 0.5312 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.01306, allocations: 125.6 kB / 0.5313 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.01311, allocations: 17.59 kB / 0.5313 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01326, allocations: 15.98 kB / 0.5313 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.0133, allocations: 11.92 kB / 0.5313 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.01335, allocations: 65.97 kB / 0.5314 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001676/0.01351, allocations: 271.1 kB / 0.5317 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01352, allocations: 0 / 0.5317 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002437/0.01376, allocations: 64 kB / 0.5317 GB, free: 6.535 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001097/0.01387, allocations: 122 kB / 0.5318 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.01433, allocations: 427.8 kB / 0.5322 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01433, allocations: 3.938 kB / 0.5323 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01444, allocations: 90.27 kB / 0.5323 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01472, allocations: 48.56 kB / 0.5324 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.01549, allocations: 484.9 kB / 0.5328 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.01554, allocations: 87.75 kB / 0.5329 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.01558, allocations: 18.44 kB / 0.5329 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.01562, allocations: 17.88 kB / 0.533 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.01562, allocations: 0 / 0.533 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of Templates: time 0.008364/0.02398, allocations: 5.862 MB / 0.5387 GB, free: 15.38 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8949321599211544]