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.00101/0.00101, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001233/0.001233, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7952/0.7952, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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 2.235e-06/2.235e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.214e-05, allocations: 3.953 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00286/0.002892, allocations: 1.537 MB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.00393, allocations: 0.5364 MB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.003994, allocations: 0.5312 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.691e-05/0.004091, allocations: 12.61 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.004203, allocations: 27.84 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.004838, allocations: 323.6 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.005222, allocations: 484.7 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.005264, allocations: 11.97 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.005625, allocations: 351.6 kB / 0.5247 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.005844, allocations: 132 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.005894, allocations: 24 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.00594, allocations: 31.94 kB / 0.5249 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.006043, allocations: 115.7 kB / 0.525 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.006154, allocations: 131.7 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.006479, allocations: 386.8 kB / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.006483, allocations: 0 / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.006485, allocations: 0 / 0.5255 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.00649, allocations: 0.5625 kB / 0.5255 GB, free: 13.89 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.0009577/0.007447, allocations: 0.9076 MB / 0.5263 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.007482, allocations: 8.031 kB / 0.5264 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.007582, allocations: 65.58 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.007831, allocations: 258.8 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.007869, allocations: 21.83 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.007918, allocations: 32.36 kB / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.008246, allocations: 193.6 kB / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.008254, allocations: 192 / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.008273, allocations: 10.88 kB / 0.5269 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.008277, allocations: 384 / 0.5269 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.008376, allocations: 55.75 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.00862, allocations: 241 kB / 0.5272 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.008793, allocations: 124.2 kB / 0.5273 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.008875, allocations: 56.81 kB / 0.5274 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.008891, allocations: 4 kB / 0.5274 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.009068, allocations: 181.7 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.009069, allocations: 3.938 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000488/0.009557, allocations: 360 kB / 0.5279 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.009592, allocations: 63.39 kB / 0.528 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.009823, allocations: 411.4 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.009857, allocations: 41.7 kB / 0.5284 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.009917, allocations: 147.8 kB / 0.5285 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.009953, allocations: 39.72 kB / 0.5286 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.01008, allocations: 139 kB / 0.5287 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01021, allocations: 0.4961 MB / 0.5292 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01037, allocations: 163.2 kB / 0.5293 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.01054, allocations: 237.1 kB / 0.5296 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.01073, allocations: 251.4 kB / 0.5298 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.01074, allocations: 4 kB / 0.5298 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004953/0.01123, allocations: 0.5246 MB / 0.5303 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.01129, allocations: 79.38 kB / 0.5304 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01129, allocations: 4 kB / 0.5304 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.0113, allocations: 1.781 kB / 0.5304 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01143, allocations: 43.91 kB / 0.5304 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01143, allocations: 0 / 0.5304 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.01161, allocations: 53.36 kB / 0.5305 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.01167, allocations: 59.98 kB / 0.5305 GB, free: 8.375 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.0001308/0.0118, allocations: 190.5 kB / 0.5307 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.01185, allocations: 44.59 kB / 0.5308 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.01189, allocations: 35.69 kB / 0.5308 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01189, allocations: 0.625 kB / 0.5308 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.0119, allocations: 0.875 kB / 0.5308 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0119, allocations: 3.984 kB / 0.5308 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.01252, allocations: 0.6139 MB / 0.5314 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01252, allocations: 1.344 kB / 0.5314 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.01256, allocations: 4 kB / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01256, allocations: 0 / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.01259, allocations: 23.97 kB / 0.5314 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01259, allocations: 2.281 kB / 0.5314 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01259, allocations: 3.938 kB / 0.5314 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.01297, allocations: 463.2 kB / 0.5319 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.01312, allocations: 117.6 kB / 0.532 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.01316, allocations: 8 kB / 0.532 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.01332, allocations: 25.98 kB / 0.532 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.01335, allocations: 19.91 kB / 0.5321 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.01339, allocations: 51.98 kB / 0.5321 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001497/0.01354, allocations: 267 kB / 0.5324 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01354, allocations: 0 / 0.5324 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002298/0.01377, allocations: 64.61 kB / 0.5324 GB, free: 6.426 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.0001202/0.01389, allocations: 117.4 kB / 0.5325 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.01431, allocations: 415.3 kB / 0.5329 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01431, allocations: 0 / 0.5329 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.01444, allocations: 85.41 kB / 0.533 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.0147, allocations: 45.62 kB / 0.5331 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.01537, allocations: 470.9 kB / 0.5335 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.01542, allocations: 84.44 kB / 0.5336 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.01546, allocations: 15.14 kB / 0.5336 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.01564, allocations: 145.6 kB / 0.5337 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.01564, allocations: 2.406 kB / 0.5337 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of Templates: time 0.007035/0.02267, allocations: 5.474 MB / 0.5391 GB, free: 15.57 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.883616417646408]