Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.001918/0.001918, 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.002023/0.002023, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.633 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.333/1.333, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.922e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003568/0.003597, allocations: 1.529 MB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005043, allocations: 0.5362 MB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.005108, allocations: 0 / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.005217, allocations: 7.875 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.005348, allocations: 28.62 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009822/0.00633, allocations: 323 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.007049, allocations: 487.5 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.007096, allocations: 7.984 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.00769, allocations: 351.5 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.008008, allocations: 128.7 kB / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.00814, allocations: 28 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.008269, allocations: 24.5 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.00844, allocations: 120.4 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.008636, allocations: 131.7 kB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.009248, allocations: 463.5 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.009251, allocations: 0 / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.009252, allocations: 0 / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.009268, allocations: 0.9688 kB / 0.5236 GB, free: 14.47 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.001486/0.01075, allocations: 0.9228 MB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01079, allocations: 8.031 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.01095, allocations: 60.7 kB / 0.5246 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.01146, allocations: 255.4 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.01151, allocations: 21.33 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.01159, allocations: 28.38 kB / 0.5249 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.01224, allocations: 207.5 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.01225, allocations: 192 / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01227, allocations: 384 / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01228, allocations: 9.531 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.01269, allocations: 79.88 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.01319, allocations: 337 kB / 0.5255 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.01382, allocations: 152.4 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.01423, allocations: 89.55 kB / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.01426, allocations: 0 / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.01485, allocations: 221.8 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.01485, allocations: 0.9688 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001611/0.01646, allocations: 431.2 kB / 0.5263 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.01653, allocations: 67.33 kB / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.01705, allocations: 472.1 kB / 0.5268 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.01711, allocations: 41.69 kB / 0.5269 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01724, allocations: 140.2 kB / 0.527 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.0173, allocations: 43.69 kB / 0.5271 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.01753, allocations: 139.7 kB / 0.5272 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.01781, allocations: 0.4962 MB / 0.5277 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.01843, allocations: 212.5 kB / 0.5279 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.01886, allocations: 285.1 kB / 0.5281 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.01934, allocations: 322 kB / 0.5285 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01935, allocations: 3.938 kB / 0.5285 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001095/0.02044, allocations: 0.6178 MB / 0.5291 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.02053, allocations: 79.38 kB / 0.5291 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.02054, allocations: 4 kB / 0.5291 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.02056, allocations: 0 / 0.5291 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.02076, allocations: 39.91 kB / 0.5292 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.02077, allocations: 8.531 kB / 0.5292 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.02113, allocations: 44.98 kB / 0.5292 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.02122, allocations: 55.98 kB / 0.5293 GB, free: 8.312 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.000218/0.02144, allocations: 200.4 kB / 0.5295 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.02153, allocations: 43.77 kB / 0.5295 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.0216, allocations: 35.67 kB / 0.5295 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02161, allocations: 4.688 kB / 0.5296 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02161, allocations: 0 / 0.5296 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.02162, allocations: 4.531 kB / 0.5296 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.02338, allocations: 0.7409 MB / 0.5303 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02338, allocations: 3.438 kB / 0.5303 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.02342, allocations: 7.984 kB / 0.5303 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.02342, allocations: 0 / 0.5303 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.02346, allocations: 19.92 kB / 0.5303 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.02346, allocations: 0 / 0.5303 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02347, allocations: 0 / 0.5303 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.02467, allocations: 0.4987 MB / 0.5308 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.02499, allocations: 125.4 kB / 0.5309 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.02507, allocations: 19.92 kB / 0.5309 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.02535, allocations: 22.61 kB / 0.531 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.02539, allocations: 7.984 kB / 0.531 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.02547, allocations: 59.97 kB / 0.531 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003001/0.02577, allocations: 287.7 kB / 0.5313 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02577, allocations: 0 / 0.5313 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003591/0.02613, allocations: 69.52 kB / 0.5314 GB, free: 6.121 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.0001682/0.0263, allocations: 117.2 kB / 0.5315 GB, free: 6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.02747, allocations: 0.5921 MB / 0.5321 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02747, allocations: 0 / 0.5321 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.02791, allocations: 113.9 kB / 0.5322 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.0283, allocations: 52.2 kB / 0.5322 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02943, allocations: 0.4902 MB / 0.5327 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.02962, allocations: 153 kB / 0.5328 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.169e-05/0.02968, allocations: 14.27 kB / 0.5328 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.02973, allocations: 21.03 kB / 0.5329 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of SimCode: time 4.7e-07/0.02973, allocations: 1.5 kB / 0.5329 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of Templates: time 0.01163/0.04136, allocations: 5.862 MB / 0.5386 GB, free: 14.75 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.118062474997714]