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.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.000993/0.000993, allocations: 93.06 kB / 19.65 MB, free: 280 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.001166/0.001166, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7682/0.7682, allocations: 154.8 MB / 414.7 MB, free: 464 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.571e-05, allocations: 4.422 kB / 0.5205 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00194/0.001966, allocations: 1.558 MB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.002924, allocations: 0.5363 MB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.002986, allocations: 0 / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003087, allocations: 12.95 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003204, allocations: 31.8 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.003828, allocations: 313.1 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.0042, allocations: 483.4 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.004237, allocations: 5.688 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.004565, allocations: 359.6 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.004758, allocations: 124.3 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.004814, allocations: 28.75 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.004867, allocations: 28 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.004962, allocations: 117.1 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.005076, allocations: 131.7 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.005378, allocations: 382.8 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005381, allocations: 0 / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005382, allocations: 1.344 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005387, allocations: 0 / 0.5245 GB, free: 13.94 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.0008295/0.006217, allocations: 0.9085 MB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.006252, allocations: 8.031 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.006354, allocations: 64.64 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.006607, allocations: 254.9 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.006645, allocations: 32.22 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.006689, allocations: 26.45 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.007036, allocations: 211.7 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007044, allocations: 192 / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.007063, allocations: 4.375 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007069, allocations: 1.406 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.007164, allocations: 61.12 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.007441, allocations: 308.4 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.007632, allocations: 126.8 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.007727, allocations: 60.58 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.00775, allocations: 7.984 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.007938, allocations: 178.6 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.00794, allocations: 0 / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005285/0.008469, allocations: 377.9 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.008506, allocations: 67.34 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.008759, allocations: 418.7 kB / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.008794, allocations: 45.69 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.008853, allocations: 146.2 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.008888, allocations: 39.72 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.009012, allocations: 135.1 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.009125, allocations: 0.4923 MB / 0.5283 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.009319, allocations: 171.3 kB / 0.5285 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.009518, allocations: 250 kB / 0.5287 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.009745, allocations: 273.1 kB / 0.529 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009748, allocations: 0 / 0.529 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005273/0.01028, allocations: 0.5574 MB / 0.5295 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.01033, allocations: 80.66 kB / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01033, allocations: 4 kB / 0.5296 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.01035, allocations: 7.938 kB / 0.5296 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.01048, allocations: 41.53 kB / 0.5297 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01049, allocations: 3.938 kB / 0.5297 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.01065, allocations: 43.86 kB / 0.5297 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.0107, allocations: 64.55 kB / 0.5298 GB, free: 8.23 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.0001156/0.01082, allocations: 183.5 kB / 0.5299 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.01087, allocations: 45.03 kB / 0.53 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.01091, allocations: 35.69 kB / 0.53 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01091, allocations: 4 kB / 0.53 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.01092, allocations: 0 / 0.53 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.01093, allocations: 9.609 kB / 0.53 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.01159, allocations: 0.6753 MB / 0.5307 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01159, allocations: 0 / 0.5307 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.01162, allocations: 4 kB / 0.5307 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01162, allocations: 0 / 0.5307 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.01164, allocations: 27.84 kB / 0.5307 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01165, allocations: 3.938 kB / 0.5307 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01165, allocations: 0 / 0.5307 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.01203, allocations: 473.1 kB / 0.5312 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.01216, allocations: 117.6 kB / 0.5313 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.01221, allocations: 23.92 kB / 0.5313 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.01235, allocations: 15.98 kB / 0.5313 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.01238, allocations: 9.078 kB / 0.5313 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.01242, allocations: 63.97 kB / 0.5314 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001406/0.01256, allocations: 267.1 kB / 0.5317 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01256, allocations: 1.438 kB / 0.5317 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002249/0.01278, allocations: 67.98 kB / 0.5317 GB, free: 6.188 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.0001265/0.01291, allocations: 118.6 kB / 0.5318 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.01341, allocations: 433.6 kB / 0.5322 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01341, allocations: 0 / 0.5322 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01352, allocations: 84.41 kB / 0.5323 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01378, allocations: 51.89 kB / 0.5324 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.01457, allocations: 477.1 kB / 0.5328 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.01462, allocations: 89.06 kB / 0.5329 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.01465, allocations: 6.969 kB / 0.5329 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.01469, allocations: 20.48 kB / 0.5329 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/0.01469, allocations: 0 / 0.5329 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of Templates: time 0.006887/0.02158, allocations: 5.876 MB / 0.5387 GB, free: 15.03 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.014455126598477]