Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002372/0.002372, allocations: 85.48 kB / 19.44 MB, free: 344 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.002914/0.002914, allocations: 173.6 kB / 22.76 MB, free: 1.66 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.37/1.37, allocations: 154.6 MB / 414.2 MB, free: 0.6211 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.482e-05, allocations: 7.375 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003102/0.003137, allocations: 1.534 MB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.004591, allocations: 0.5325 MB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.004644, allocations: 0.7812 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004747, allocations: 7.875 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.004869, allocations: 32.97 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008354/0.005705, allocations: 308.3 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.006312, allocations: 491.4 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.006363, allocations: 16.97 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.006927, allocations: 355.5 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.007226, allocations: 126.6 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.007354, allocations: 28 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.007469, allocations: 28.75 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.007643, allocations: 119.7 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.007843, allocations: 128.7 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.008469, allocations: 466.6 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.008473, allocations: 0 / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.008474, allocations: 2.812 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.008481, allocations: 0 / 0.5236 GB, free: 14.42 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.001776/0.01026, allocations: 0.9141 MB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.0103, allocations: 12.03 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.01047, allocations: 52.7 kB / 0.5246 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.011, allocations: 270.7 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.01105, allocations: 13.56 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.01113, allocations: 32.34 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.01179, allocations: 202.6 kB / 0.5251 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.0118, allocations: 0.75 kB / 0.5251 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.01183, allocations: 5.312 kB / 0.5251 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01183, allocations: 4.375 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.01223, allocations: 77.27 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.01276, allocations: 344.3 kB / 0.5255 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.01338, allocations: 148.4 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.01378, allocations: 93.52 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01381, allocations: 4 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.01439, allocations: 209.8 kB / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.01439, allocations: 0 / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001569/0.01596, allocations: 437.8 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.01603, allocations: 67.39 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.01658, allocations: 462.7 kB / 0.5268 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.01664, allocations: 44.44 kB / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01676, allocations: 140.2 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.01683, allocations: 47.69 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.01706, allocations: 143.1 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003008/0.01736, allocations: 0.4962 MB / 0.5277 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.01775, allocations: 215.3 kB / 0.5279 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.01829, allocations: 281.1 kB / 0.5281 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.01879, allocations: 321.6 kB / 0.5285 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.0188, allocations: 4 kB / 0.5285 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001072/0.01987, allocations: 0.6173 MB / 0.5291 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.01997, allocations: 89.27 kB / 0.5291 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01998, allocations: 0 / 0.5291 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.02, allocations: 7.438 kB / 0.5292 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02021, allocations: 31.98 kB / 0.5292 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.02022, allocations: 11.86 kB / 0.5292 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.02056, allocations: 39.88 kB / 0.5292 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.02067, allocations: 67.97 kB / 0.5293 GB, free: 8.258 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.0002225/0.02089, allocations: 186.5 kB / 0.5295 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.02098, allocations: 50.39 kB / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.02106, allocations: 35.67 kB / 0.5296 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02106, allocations: 0 / 0.5296 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.02106, allocations: 0 / 0.5296 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02107, allocations: 3.938 kB / 0.5296 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.02284, allocations: 0.7419 MB / 0.5303 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02284, allocations: 1.406 kB / 0.5303 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.02289, allocations: 11.94 kB / 0.5303 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.02289, allocations: 3.984 kB / 0.5303 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.02294, allocations: 20.55 kB / 0.5303 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02294, allocations: 4 kB / 0.5303 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02294, allocations: 2.438 kB / 0.5303 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.0241, allocations: 496 kB / 0.5308 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.0244, allocations: 129.5 kB / 0.5309 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.02448, allocations: 14.38 kB / 0.5309 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.02475, allocations: 19.97 kB / 0.531 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.0248, allocations: 11.98 kB / 0.531 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.02488, allocations: 55.98 kB / 0.531 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003243/0.0252, allocations: 291.1 kB / 0.5313 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.0252, allocations: 3.938 kB / 0.5313 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003577/0.02556, allocations: 69.33 kB / 0.5314 GB, free: 6.074 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.0004997/0.02606, allocations: 113.1 kB / 0.5315 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.02728, allocations: 0.5936 MB / 0.5321 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02728, allocations: 4.656 kB / 0.5321 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.02771, allocations: 100.9 kB / 0.5322 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.02813, allocations: 52.36 kB / 0.5322 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02925, allocations: 0.4936 MB / 0.5327 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.02944, allocations: 155.8 kB / 0.5328 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.051e-05/0.0295, allocations: 16.7 kB / 0.5329 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.02955, allocations: 16.44 kB / 0.5329 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.02955, allocations: 0 / 0.5329 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of Templates: time 0.01147/0.04102, allocations: 5.875 MB / 0.5386 GB, free: 14.69 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.331108981976286]