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.0008372/0.0008372, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000908/0.000908, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9459/0.9459, allocations: 177.1 MB / 203.4 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.8198/0.8198, allocations: 154.9 MB / 414.8 MB, free: 408 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.863e-06/1.863e-06, allocations: 0 / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.535e-05, allocations: 4.422 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002039/0.002065, allocations: 1.553 MB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003068, allocations: 0.5506 MB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.003133, allocations: 3.938 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.98e-05/0.003222, allocations: 7.922 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.003325, allocations: 19.88 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.004045, allocations: 325.3 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.004521, allocations: 487.4 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.004561, allocations: 0 / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.00497, allocations: 364.5 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.005198, allocations: 120.9 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.005253, allocations: 29.28 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.005304, allocations: 27.94 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.005398, allocations: 119.7 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.005507, allocations: 127.7 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.005842, allocations: 383.5 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005846, allocations: 1.562 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005847, allocations: 0 / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.005852, allocations: 0 / 0.5246 GB, free: 13.8 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.0008569/0.006709, allocations: 0.9033 MB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006743, allocations: 12.03 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.006848, allocations: 54.14 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.007098, allocations: 270.7 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.007133, allocations: 20.36 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.007177, allocations: 28.36 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.007524, allocations: 210.1 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.007531, allocations: 1.219 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.00755, allocations: 384 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007557, allocations: 4.375 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.007659, allocations: 56.72 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.007957, allocations: 305.1 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.008158, allocations: 129.4 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.008259, allocations: 66.09 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.008279, allocations: 4 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.008496, allocations: 186.3 kB / 0.5268 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.008497, allocations: 0 / 0.5268 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005388/0.009036, allocations: 381.1 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.009071, allocations: 60.94 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.009328, allocations: 422.7 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.009365, allocations: 41.69 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.009427, allocations: 140.1 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.009466, allocations: 46 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.009596, allocations: 131.1 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.009729, allocations: 0.4923 MB / 0.5285 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.009936, allocations: 175.3 kB / 0.5286 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01015, allocations: 249 kB / 0.5289 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.01039, allocations: 273.2 kB / 0.5291 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01039, allocations: 0 / 0.5291 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000551/0.01094, allocations: 0.5615 MB / 0.5297 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.011, allocations: 79.38 kB / 0.5297 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.011, allocations: 1.219 kB / 0.5297 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01102, allocations: 4 kB / 0.5297 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01115, allocations: 39.91 kB / 0.5298 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01116, allocations: 8.906 kB / 0.5298 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.01133, allocations: 53.08 kB / 0.5298 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.01139, allocations: 59.98 kB / 0.5299 GB, free: 8.09 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.0001479/0.01154, allocations: 191 kB / 0.5301 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.01159, allocations: 41.45 kB / 0.5301 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.01163, allocations: 39.67 kB / 0.5302 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01163, allocations: 0 / 0.5302 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01163, allocations: 0 / 0.5302 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01164, allocations: 3.938 kB / 0.5302 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/0.01232, allocations: 0.6711 MB / 0.5308 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01232, allocations: 0 / 0.5308 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.01235, allocations: 10.69 kB / 0.5308 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01235, allocations: 0 / 0.5308 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.01238, allocations: 27.91 kB / 0.5309 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01238, allocations: 0 / 0.5309 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01238, allocations: 0 / 0.5309 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.01278, allocations: 462.6 kB / 0.5313 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.01292, allocations: 126.7 kB / 0.5314 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.01297, allocations: 15.94 kB / 0.5314 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01312, allocations: 25.25 kB / 0.5315 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.01315, allocations: 7.984 kB / 0.5315 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.01319, allocations: 55.98 kB / 0.5315 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001555/0.01335, allocations: 275.1 kB / 0.5318 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01335, allocations: 5.344 kB / 0.5318 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002376/0.01358, allocations: 63.98 kB / 0.5318 GB, free: 6.047 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.0001092/0.01369, allocations: 123.8 kB / 0.532 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.01413, allocations: 429.6 kB / 0.5324 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01413, allocations: 0.6875 kB / 0.5324 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01424, allocations: 86.67 kB / 0.5325 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01451, allocations: 42.22 kB / 0.5325 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.01523, allocations: 486.6 kB / 0.533 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.01528, allocations: 84.59 kB / 0.533 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.01532, allocations: 16.73 kB / 0.5331 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.01535, allocations: 20.48 kB / 0.5331 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.01535, allocations: 0 / 0.5331 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of Templates: time 0.008271/0.02362, allocations: 6.476 MB / 0.5394 GB, free: 14.29 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.766276921145618]