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.0009657/0.0009657, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001173/0.001173, allocations: 169 kB / 23.27 MB, free: 1.223 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.023/1.023, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7754/0.7754, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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 179] 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 1.603e-06/1.603e-06, allocations: 0 / 0.5207 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.04e-05, allocations: 9.953 kB / 0.5207 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003025/0.003046, allocations: 1.55 MB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004408, allocations: 0.5353 MB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.004474, allocations: 4.781 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.004581, allocations: 7.875 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.004717, allocations: 29.05 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.005693, allocations: 321.9 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.006129, allocations: 495.4 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.006173, allocations: 8.516 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.006706, allocations: 347.6 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.007068, allocations: 136.7 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.007179, allocations: 28.53 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.007252, allocations: 24.75 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.007361, allocations: 119.6 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.007478, allocations: 132.9 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.007927, allocations: 378.8 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007931, allocations: 0 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.007932, allocations: 0 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.00794, allocations: 0.625 kB / 0.5247 GB, free: 13.84 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.001131/0.009072, allocations: 0.9122 MB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.009118, allocations: 8.031 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.009275, allocations: 64.66 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.009608, allocations: 264.3 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.009649, allocations: 20.36 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.009718, allocations: 24.38 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.01022, allocations: 207.3 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01023, allocations: 192 / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.01026, allocations: 4.375 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01027, allocations: 4.359 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.0104, allocations: 59.53 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.01072, allocations: 249 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.01094, allocations: 115.7 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.01107, allocations: 59.72 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.0111, allocations: 7.312 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.01136, allocations: 172.4 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.01137, allocations: 3.938 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007026/0.01207, allocations: 368.8 kB / 0.5272 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.01211, allocations: 55.41 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.01248, allocations: 415.7 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.01253, allocations: 45.69 kB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.01262, allocations: 144.1 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.01267, allocations: 36.67 kB / 0.5278 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.01282, allocations: 139 kB / 0.528 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01295, allocations: 0.4973 MB / 0.5284 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.01319, allocations: 163.3 kB / 0.5286 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.01345, allocations: 233 kB / 0.5288 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.01373, allocations: 253 kB / 0.5291 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.01374, allocations: 4.5 kB / 0.5291 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007036/0.01444, allocations: 0.5276 MB / 0.5296 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.01484, allocations: 79.38 kB / 0.5297 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01485, allocations: 9.047 kB / 0.5297 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01487, allocations: 4 kB / 0.5297 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.015, allocations: 31.92 kB / 0.5297 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.015, allocations: 1.844 kB / 0.5297 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.01528, allocations: 55.73 kB / 0.5298 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.01537, allocations: 63.97 kB / 0.5298 GB, free: 8.309 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.000185/0.01555, allocations: 188.2 kB / 0.53 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.01563, allocations: 43.77 kB / 0.53 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.01569, allocations: 31.69 kB / 0.5301 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0157, allocations: 4.484 kB / 0.5301 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.0157, allocations: 4 kB / 0.5301 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01571, allocations: 0.9375 kB / 0.5301 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.01662, allocations: 0.6134 MB / 0.5307 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01662, allocations: 0 / 0.5307 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.01666, allocations: 4 kB / 0.5307 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01666, allocations: 0 / 0.5307 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.01669, allocations: 19.97 kB / 0.5307 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.0167, allocations: 6.125 kB / 0.5307 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.0167, allocations: 7.922 kB / 0.5307 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.01727, allocations: 451.2 kB / 0.5311 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.0175, allocations: 121.6 kB / 0.5313 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.01756, allocations: 19.94 kB / 0.5313 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.01784, allocations: 27.97 kB / 0.5313 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.01788, allocations: 18.02 kB / 0.5313 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.01794, allocations: 59.97 kB / 0.5314 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001905/0.01813, allocations: 263 kB / 0.5316 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01813, allocations: 0 / 0.5316 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003551/0.01849, allocations: 64 kB / 0.5317 GB, free: 6.352 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.0001658/0.01865, allocations: 114.1 kB / 0.5318 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.01929, allocations: 430.4 kB / 0.5322 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.0193, allocations: 0 / 0.5322 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.0194, allocations: 77.12 kB / 0.5323 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.01966, allocations: 57.5 kB / 0.5323 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.02056, allocations: 482.9 kB / 0.5328 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.02064, allocations: 83.81 kB / 0.5329 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.0207, allocations: 15.27 kB / 0.5329 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.02097, allocations: 142.1 kB / 0.533 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.02097, allocations: 0 / 0.533 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.009497/0.03047, allocations: 5.301 MB / 0.5382 GB, free: 15.66 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: 3.8532904740422964]