Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009832/0.0009832, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001031/0.001031, allocations: 181 kB / 23.36 MB, free: 1.133 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.9657/0.9657, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8223/0.8223, allocations: 154.9 MB / 415.1 MB, free: 260 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.311e-05, allocations: 2.312 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001913/0.001926, allocations: 1.598 MB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003, allocations: 0.5432 MB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.003056, allocations: 0 / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.003168, allocations: 13.67 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.003289, allocations: 29.27 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.003898, allocations: 316.2 kB / 482.9 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.004318, allocations: 492.2 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.00436, allocations: 13.47 kB / 483.4 MB, free: 3.625 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.004726, allocations: 355.6 kB / 483.7 MB, free: 3.277 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.004946, allocations: 133.8 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.004997, allocations: 28 kB / 483.9 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.005047, allocations: 28 kB / 483.9 MB, free: 3.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.005164, allocations: 119.6 kB / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.00528, allocations: 132.6 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.005594, allocations: 374.8 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005596, allocations: 0.875 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005597, allocations: 0 / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005602, allocations: 0 / 484.5 MB, free: 2.484 MB / 442.7 MB 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.0008624/0.006465, allocations: 0.7473 MB / 485.2 MB, free: 1.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.006493, allocations: 8.656 kB / 485.3 MB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.006565, allocations: 48.88 kB / 485.3 MB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.006783, allocations: 232.7 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.006812, allocations: 20.36 kB / 485.5 MB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.006856, allocations: 32.98 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.007164, allocations: 185.7 kB / 485.8 MB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007171, allocations: 192 / 485.8 MB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.007187, allocations: 5.859 kB / 485.8 MB, free: 1.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.007196, allocations: 9.312 kB / 485.8 MB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.00727, allocations: 36.58 kB / 485.8 MB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.007436, allocations: 120.9 kB / 485.9 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.007586, allocations: 94.17 kB / 486 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.007661, allocations: 42.78 kB / 486.1 MB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.007679, allocations: 8.875 kB / 486.1 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.007845, allocations: 153.4 kB / 486.2 MB, free: 0.668 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.007846, allocations: 0 / 486.2 MB, free: 0.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003279/0.008174, allocations: 201.8 kB / 486.4 MB, free: 492 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.00821, allocations: 67.34 kB / 486.5 MB, free: 412 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.008395, allocations: 328.2 kB / 486.8 MB, free: 72 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.008429, allocations: 41.69 kB / 486.8 MB, free: 24 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.008488, allocations: 94.91 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.008521, allocations: 35.78 kB / 487 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.008632, allocations: 113.4 kB / 487.1 MB, free: 15.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.008711, allocations: 338.7 kB / 487.4 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.008857, allocations: 156.8 kB / 487.6 MB, free: 15.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.009012, allocations: 201.3 kB / 487.8 MB, free: 15.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.009197, allocations: 246.8 kB / 488 MB, free: 14.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009199, allocations: 0.7812 kB / 488 MB, free: 14.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003479/0.009547, allocations: 438.8 kB / 488.4 MB, free: 14.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.009608, allocations: 83.38 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.009614, allocations: 2.031 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009631, allocations: 4 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.009752, allocations: 35.91 kB / 488.6 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.009757, allocations: 4 kB / 488.6 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.009924, allocations: 44.52 kB / 488.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.009982, allocations: 56.58 kB / 488.7 MB, free: 14.07 MB / 458.7 MB 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.0001238/0.01011, allocations: 142.5 kB / 488.8 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.01014, allocations: 27.97 kB / 488.8 MB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.01019, allocations: 36.3 kB / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01019, allocations: 0.625 kB / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01019, allocations: 0 / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.0102, allocations: 1.344 kB / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.01064, allocations: 387.2 kB / 489.2 MB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01065, allocations: 3.938 kB / 489.2 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.01067, allocations: 5.156 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01067, allocations: 0 / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.01069, allocations: 15.97 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01069, allocations: 1.25 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0107, allocations: 4 kB / 489.3 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.01093, allocations: 246.1 kB / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.01106, allocations: 119.5 kB / 489.6 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.0111, allocations: 12 kB / 489.6 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.01126, allocations: 30.16 kB / 489.7 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.01129, allocations: 15.92 kB / 489.7 MB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.01133, allocations: 47.97 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.01143, allocations: 140.7 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01143, allocations: 0 / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.01162, allocations: 64.92 kB / 489.9 MB, free: 12.77 MB / 458.7 MB 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 9.503e-05/0.01172, allocations: 103.4 kB / 490 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.01219, allocations: 400.4 kB / 490.4 MB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.0122, allocations: 4 kB / 490.4 MB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.01228, allocations: 61.95 kB / 490.5 MB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01248, allocations: 41.61 kB / 490.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.01311, allocations: 464.3 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.01316, allocations: 88.17 kB / 491.1 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.0132, allocations: 14.14 kB / 491.1 MB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01337, allocations: 127.7 kB / 491.2 MB, free: 11.44 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01337, allocations: 0 / 491.2 MB, free: 11.44 MB / 458.7 MB Notification: Performance of Templates: time 0.006242/0.01961, allocations: 5.296 MB / 496.5 MB, free: 6.375 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7202415261417627]