Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009171/0.0009171, allocations: 81.14 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.0009657/0.0009657, allocations: 173 kB / 23.28 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.028/1.028, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.803/0.803, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5207 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.069e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00198/0.002001, allocations: 1.547 MB / 0.5222 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.002981, allocations: 0.5347 MB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.003038, allocations: 1.219 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.003138, allocations: 8.641 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003244, allocations: 31.8 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.00382, allocations: 322.5 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.004161, allocations: 487.4 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.004196, allocations: 8.891 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.004529, allocations: 355.6 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.004722, allocations: 135.7 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.004774, allocations: 24.5 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.004828, allocations: 28.84 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.00492, allocations: 119.6 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.005016, allocations: 131.7 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.005291, allocations: 377.9 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005293, allocations: 0 / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005294, allocations: 7.938 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005298, allocations: 0 / 0.5247 GB, free: 13.87 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.0009221/0.00622, allocations: 0.9066 MB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.006263, allocations: 13.03 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.006349, allocations: 56.66 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.006581, allocations: 266.8 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.006613, allocations: 16.89 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.006654, allocations: 28.88 kB / 0.526 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.00697, allocations: 214.4 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.006978, allocations: 2.938 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.006993, allocations: 384 / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.006998, allocations: 4.375 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.007077, allocations: 50.97 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.007305, allocations: 245.9 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.007468, allocations: 119.6 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.007547, allocations: 68.69 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.007568, allocations: 4 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.007733, allocations: 169.6 kB / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.007734, allocations: 0 / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0004706/0.008205, allocations: 361.5 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.00824, allocations: 63.34 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.008458, allocations: 411.2 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.008491, allocations: 41.69 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.008549, allocations: 157.3 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.008581, allocations: 35.73 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.008694, allocations: 139 kB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.008799, allocations: 0.4971 MB / 0.5284 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.008942, allocations: 159.3 kB / 0.5286 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.009098, allocations: 234.4 kB / 0.5288 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.009289, allocations: 256.1 kB / 0.5291 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009291, allocations: 1.25 kB / 0.5291 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004408/0.009731, allocations: 0.5281 MB / 0.5296 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.009782, allocations: 87.36 kB / 0.5297 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009788, allocations: 4 kB / 0.5297 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.0098, allocations: 0 / 0.5297 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.009904, allocations: 31.92 kB / 0.5297 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009909, allocations: 7.984 kB / 0.5297 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.01007, allocations: 49.44 kB / 0.5297 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.01012, allocations: 59.97 kB / 0.5298 GB, free: 8.352 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.0001132/0.01023, allocations: 191.5 kB / 0.53 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01027, allocations: 43.77 kB / 0.53 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.01032, allocations: 38.2 kB / 0.5301 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01032, allocations: 0 / 0.5301 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01032, allocations: 0 / 0.5301 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01032, allocations: 3.984 kB / 0.5301 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.01088, allocations: 0.6172 MB / 0.5307 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.01088, allocations: 4 kB / 0.5307 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.0109, allocations: 0 / 0.5307 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0109, allocations: 4 kB / 0.5307 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.01092, allocations: 19.97 kB / 0.5307 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01092, allocations: 3.938 kB / 0.5307 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01093, allocations: 4.438 kB / 0.5307 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.01126, allocations: 459.4 kB / 0.5311 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.0114, allocations: 115.8 kB / 0.5313 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.01144, allocations: 12 kB / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.01161, allocations: 31.97 kB / 0.5313 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.01163, allocations: 13.36 kB / 0.5313 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.01167, allocations: 59.97 kB / 0.5314 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001192/0.01179, allocations: 267 kB / 0.5316 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0 / 0.5316 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002038/0.01199, allocations: 60.78 kB / 0.5317 GB, free: 6.395 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.0001114/0.01211, allocations: 120.5 kB / 0.5318 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.01266, allocations: 418 kB / 0.5322 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01266, allocations: 4 kB / 0.5322 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.01276, allocations: 79.84 kB / 0.5323 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01298, allocations: 56.56 kB / 0.5323 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.01363, allocations: 487 kB / 0.5328 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01367, allocations: 87.75 kB / 0.5329 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.01371, allocations: 15.23 kB / 0.5329 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.01388, allocations: 141.9 kB / 0.533 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01388, allocations: 0 / 0.533 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.006336/0.02021, allocations: 5.292 MB / 0.5382 GB, free: 15.7 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.86429924890399]