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.0009341/0.0009341, allocations: 93.06 kB / 19.65 MB, free: 280 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.001005/0.001005, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 0.9337/0.9337, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8213/0.8213, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.873e-06/1.873e-06, allocations: 0 / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.926e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002181/0.002211, allocations: 1.553 MB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003269, allocations: 0.535 MB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.003328, allocations: 4 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003449, allocations: 8.797 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.003571, allocations: 35.73 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.004196, allocations: 313.4 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.004565, allocations: 483.4 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.004606, allocations: 7.984 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.004945, allocations: 361 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.005159, allocations: 131 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.005216, allocations: 25.22 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.005267, allocations: 28 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.005375, allocations: 115.7 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.005492, allocations: 130.5 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.005816, allocations: 378.9 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.00582, allocations: 0 / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.005821, allocations: 4 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.005827, allocations: 0 / 0.5243 GB, free: 14.19 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.0008856/0.006713, allocations: 0.9065 MB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.006752, allocations: 8.594 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.006855, allocations: 64.64 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.007126, allocations: 259.8 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.00717, allocations: 20.36 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.007221, allocations: 29.98 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.007597, allocations: 211.4 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007609, allocations: 192 / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.007628, allocations: 384 / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.007637, allocations: 384 / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.007736, allocations: 64 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.008024, allocations: 308.4 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.008223, allocations: 122.2 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.008321, allocations: 68.75 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.008347, allocations: 6.891 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.008553, allocations: 181.7 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.008555, allocations: 3.938 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006567/0.009211, allocations: 379.7 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.00925, allocations: 55.41 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.009563, allocations: 422.7 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.0096, allocations: 43.16 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.009668, allocations: 148.1 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.009709, allocations: 43.66 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.009835, allocations: 131.1 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01002, allocations: 0.4936 MB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.01023, allocations: 183.2 kB / 0.5283 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.01043, allocations: 245.1 kB / 0.5285 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.01066, allocations: 269.7 kB / 0.5288 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01066, allocations: 4 kB / 0.5288 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005661/0.01123, allocations: 0.5522 MB / 0.5293 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.01129, allocations: 83.38 kB / 0.5294 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01129, allocations: 0.5625 kB / 0.5294 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.01132, allocations: 4.938 kB / 0.5294 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.01147, allocations: 39.91 kB / 0.5294 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01148, allocations: 8.438 kB / 0.5294 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.01166, allocations: 46.33 kB / 0.5295 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.01172, allocations: 59.98 kB / 0.5295 GB, free: 8.488 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.000129/0.01185, allocations: 182.5 kB / 0.5297 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.01203, allocations: 47.75 kB / 0.5297 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.01208, allocations: 32.31 kB / 0.5298 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01208, allocations: 4 kB / 0.5298 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01209, allocations: 2.188 kB / 0.5298 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01209, allocations: 3.938 kB / 0.5298 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.01282, allocations: 0.679 MB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01282, allocations: 1.156 kB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.01286, allocations: 4 kB / 0.5305 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.01286, allocations: 0 / 0.5305 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.01289, allocations: 25.75 kB / 0.5305 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01289, allocations: 4 kB / 0.5305 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01289, allocations: 0 / 0.5305 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.01328, allocations: 468.3 kB / 0.5309 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.01342, allocations: 119.2 kB / 0.531 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.01347, allocations: 19.92 kB / 0.5311 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.01363, allocations: 15.98 kB / 0.5311 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.01366, allocations: 9.672 kB / 0.5311 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.01371, allocations: 63.97 kB / 0.5311 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000159/0.01387, allocations: 267.1 kB / 0.5314 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01387, allocations: 0 / 0.5314 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002306/0.0141, allocations: 67.98 kB / 0.5315 GB, free: 6.453 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.0001198/0.01422, allocations: 118.9 kB / 0.5316 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.01468, allocations: 440.8 kB / 0.532 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01468, allocations: 1.188 kB / 0.532 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.01482, allocations: 88.48 kB / 0.5321 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.0002971/0.01511, allocations: 53.61 kB / 0.5321 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.01592, allocations: 483.5 kB / 0.5326 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.231e-05/0.01597, allocations: 83.81 kB / 0.5327 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.01601, allocations: 10.03 kB / 0.5327 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.01605, allocations: 23.39 kB / 0.5327 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/0.01605, allocations: 0 / 0.5327 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of Templates: time 0.007228/0.02328, allocations: 5.864 MB / 0.5384 GB, free: 15.3 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: 4.113892142660916]