Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001023/0.001023, 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.001056/0.001056, 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 0.9937/0.9937, 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 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 0.8137/0.8137, allocations: 154.9 MB / 415.1 MB, free: 256 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 179] 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.677e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001784/0.001801, allocations: 1.546 MB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.002792, allocations: 0.5383 MB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.002861, allocations: 0.9688 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.805e-05/0.002959, allocations: 11.86 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.003064, allocations: 32.84 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.003709, allocations: 318 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.004091, allocations: 483.4 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.004124, allocations: 4.5 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.004478, allocations: 363.6 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.004687, allocations: 136 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.004741, allocations: 25.72 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.004796, allocations: 28 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.004886, allocations: 119.7 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.004982, allocations: 123.7 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.005271, allocations: 388.3 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005273, allocations: 0 / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005274, allocations: 4 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.005278, allocations: 0 / 0.5251 GB, free: 13.48 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.0007913/0.006069, allocations: 0.9087 MB / 0.526 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.006104, allocations: 12.03 kB / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.006191, allocations: 56.7 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006422, allocations: 270.8 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.006452, allocations: 13.72 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.006496, allocations: 28.36 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.006804, allocations: 212.3 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006811, allocations: 192 / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006827, allocations: 4.359 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006832, allocations: 4.375 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.00691, allocations: 55.53 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.007138, allocations: 246 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.007302, allocations: 115.2 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.007379, allocations: 59.56 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.007404, allocations: 14.91 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.007567, allocations: 172.3 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.007568, allocations: 0 / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0004706/0.008039, allocations: 356.8 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.008072, allocations: 68.02 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.008292, allocations: 412 kB / 0.528 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.00833, allocations: 41.69 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.008406, allocations: 144.1 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.008442, allocations: 43.7 kB / 0.5282 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.008558, allocations: 131.7 kB / 0.5283 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.008679, allocations: 0.4961 MB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.008831, allocations: 159.9 kB / 0.5289 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.009006, allocations: 230.2 kB / 0.5292 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.009201, allocations: 264.8 kB / 0.5294 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009203, allocations: 0 / 0.5294 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004647/0.009668, allocations: 0.5302 MB / 0.5299 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.009718, allocations: 81.56 kB / 0.53 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009724, allocations: 4 kB / 0.53 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009736, allocations: 1.5 kB / 0.53 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.009848, allocations: 39.91 kB / 0.5301 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.009852, allocations: 4 kB / 0.5301 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.01002, allocations: 53.67 kB / 0.5301 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.01007, allocations: 55.98 kB / 0.5302 GB, free: 7.957 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.0001243/0.0102, allocations: 187.7 kB / 0.5303 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.01025, allocations: 43.75 kB / 0.5304 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.539e-05/0.01029, allocations: 39.67 kB / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01029, allocations: 1.562 kB / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.0103, allocations: 0 / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.0103, allocations: 0 / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.0109, allocations: 0.62 MB / 0.531 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.0109, allocations: 4 kB / 0.531 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.01092, allocations: 0.75 kB / 0.531 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01093, allocations: 4 kB / 0.531 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.01095, allocations: 20.72 kB / 0.5311 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01095, allocations: 0 / 0.5311 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01095, allocations: 10.17 kB / 0.5311 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.01131, allocations: 456.8 kB / 0.5315 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.01147, allocations: 129.5 kB / 0.5316 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.01151, allocations: 9.438 kB / 0.5316 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.01169, allocations: 37.47 kB / 0.5317 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.01172, allocations: 11.92 kB / 0.5317 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.01177, allocations: 59.97 kB / 0.5317 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001486/0.01192, allocations: 259 kB / 0.532 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01192, allocations: 2.031 kB / 0.532 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002432/0.01217, allocations: 63.98 kB / 0.5321 GB, free: 5.984 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.0001018/0.01227, allocations: 121 kB / 0.5322 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.01268, allocations: 423 kB / 0.5326 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01269, allocations: 4 kB / 0.5326 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.01278, allocations: 72.59 kB / 0.5326 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01302, allocations: 50.64 kB / 0.5327 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.01363, allocations: 482.7 kB / 0.5332 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.01368, allocations: 85.62 kB / 0.5332 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.01371, allocations: 13.77 kB / 0.5332 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.01389, allocations: 138.4 kB / 0.5334 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.01389, allocations: 0 / 0.5334 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of Templates: time 0.006237/0.02013, allocations: 5.318 MB / 0.5386 GB, free: 15.3 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7656699400395155]