Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001367/0.001367, allocations: 88.72 kB / 19.44 MB, free: 356 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.001629/0.001629, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.329/1.329, allocations: 154.8 MB / 414.3 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.388e-05, allocations: 3.281 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003927/0.003961, allocations: 1.51 MB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.005888, allocations: 0.525 MB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.005954, allocations: 1.594 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.006082, allocations: 15.8 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.006242, allocations: 31.84 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.007486, allocations: 317.4 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008255/0.008312, allocations: 487.4 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.00837, allocations: 11.98 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007435/0.009114, allocations: 349 kB / 0.523 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.00952, allocations: 131.5 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.009634, allocations: 29.03 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.009734, allocations: 24 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.009941, allocations: 119.6 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.01019, allocations: 126.6 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.01102, allocations: 470.7 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.01103, allocations: 0 / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.01103, allocations: 3.938 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.01103, allocations: 0 / 0.5238 GB, free: 14.26 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.00186/0.01289, allocations: 0.795 MB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.01295, allocations: 16.02 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.01319, allocations: 53.27 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.01377, allocations: 264.5 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.01383, allocations: 8.375 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01395, allocations: 33.23 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.01543, allocations: 235.5 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01544, allocations: 192 / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.01548, allocations: 5.312 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.01549, allocations: 384 / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.01663, allocations: 117.3 kB / 0.5253 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.01726, allocations: 282.3 kB / 0.5256 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.01881, allocations: 176.4 kB / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.01995, allocations: 114.1 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.02, allocations: 4 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.0215, allocations: 247.6 kB / 0.5261 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.0215, allocations: 0 / 0.5261 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.004076/0.02557, allocations: 0.5333 MB / 0.5266 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.02565, allocations: 60.66 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.02638, allocations: 417.8 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.02653, allocations: 37.7 kB / 0.5271 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.02666, allocations: 105.4 kB / 0.5272 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.02672, allocations: 36.28 kB / 0.5272 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.02704, allocations: 122 kB / 0.5273 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.02726, allocations: 326.8 kB / 0.5277 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.02777, allocations: 191.8 kB / 0.5278 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.02833, allocations: 243.1 kB / 0.5281 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.02895, allocations: 277 kB / 0.5283 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02896, allocations: 0 / 0.5283 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001558/0.03051, allocations: 0.5898 MB / 0.5289 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.03064, allocations: 80.47 kB / 0.529 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.03065, allocations: 0 / 0.529 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.03068, allocations: 4 kB / 0.529 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.03093, allocations: 27.92 kB / 0.529 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.03094, allocations: 7.922 kB / 0.529 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.03171, allocations: 65.88 kB / 0.5291 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.03186, allocations: 55.98 kB / 0.5291 GB, free: 8.512 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.0003889/0.03224, allocations: 205.2 kB / 0.5293 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.03237, allocations: 43.75 kB / 0.5294 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.03247, allocations: 39.69 kB / 0.5294 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.03248, allocations: 5.281 kB / 0.5294 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.03248, allocations: 0 / 0.5294 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.03249, allocations: 7.938 kB / 0.5294 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.03588, allocations: 0.7153 MB / 0.5301 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.03589, allocations: 0 / 0.5301 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.03594, allocations: 5.438 kB / 0.5301 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.03594, allocations: 4 kB / 0.5301 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.03601, allocations: 23.91 kB / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.03601, allocations: 0.6562 kB / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.03601, allocations: 0 / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.03881, allocations: 0.5083 MB / 0.5307 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.03924, allocations: 141.5 kB / 0.5308 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.03935, allocations: 12.84 kB / 0.5308 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.04007, allocations: 42.5 kB / 0.5308 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.04013, allocations: 7.984 kB / 0.5309 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.04024, allocations: 59.97 kB / 0.5309 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005132/0.04075, allocations: 295.1 kB / 0.5312 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.04075, allocations: 0 / 0.5312 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006161/0.04137, allocations: 67.98 kB / 0.5313 GB, free: 6.297 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.0002327/0.0416, allocations: 121.3 kB / 0.5314 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.04365, allocations: 481.9 kB / 0.5318 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.04366, allocations: 4 kB / 0.5318 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.04481, allocations: 127 kB / 0.532 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.04539, allocations: 49.61 kB / 0.532 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.04783, allocations: 0.5861 MB / 0.5326 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.0481, allocations: 172.3 kB / 0.5327 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.04819, allocations: 14.58 kB / 0.5328 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.04825, allocations: 12.5 kB / 0.5328 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.04825, allocations: 5.312 kB / 0.5328 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of Templates: time 0.0125/0.06075, allocations: 5.853 MB / 0.5385 GB, free: 14.91 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1569831650704145]