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.0007525/0.0007525, allocations: 93.06 kB / 19.65 MB, free: 276 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.001623/0.001623, allocations: 165 kB / 23.02 MB, free: 1.547 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.9928/0.9928, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.772/0.772, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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.262e-06/1.262e-06, allocations: 3.938 kB / 0.5205 GB, free: 1.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.824e-05, allocations: 5.297 kB / 0.5205 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002065/0.002084, allocations: 1.555 MB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003139, allocations: 0.539 MB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.003196, allocations: 5.531 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.0033, allocations: 7.922 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.003415, allocations: 27.84 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.004053, allocations: 317 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.004484, allocations: 483.4 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.004522, allocations: 5.281 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.004851, allocations: 359.6 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.005041, allocations: 129.1 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.005097, allocations: 25 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.005146, allocations: 28 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.005244, allocations: 111.7 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.005351, allocations: 136.2 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.00567, allocations: 371.6 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.005673, allocations: 4 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005674, allocations: 6.031 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.00568, allocations: 0 / 0.5245 GB, free: 13.93 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.001012/0.006692, allocations: 0.9027 MB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.006727, allocations: 8.031 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.006828, allocations: 69.86 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.007093, allocations: 258.8 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.007128, allocations: 16.36 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.007179, allocations: 32.36 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.00753, allocations: 210.4 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.007541, allocations: 1.625 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.007558, allocations: 384 / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007566, allocations: 384 / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.007666, allocations: 64.12 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.007944, allocations: 306.9 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.008132, allocations: 129.9 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.008226, allocations: 64.2 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.008248, allocations: 3.984 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.008444, allocations: 185.4 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.008445, allocations: 4.969 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005343/0.008979, allocations: 376.4 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.009013, allocations: 59.97 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.009265, allocations: 419.3 kB / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.009299, allocations: 45.69 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.009357, allocations: 145.1 kB / 0.5277 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.00939, allocations: 35.73 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.009517, allocations: 140 kB / 0.5278 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003789/0.009896, allocations: 0.4884 MB / 0.5283 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.01009, allocations: 181.8 kB / 0.5285 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.01028, allocations: 249 kB / 0.5287 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.01049, allocations: 268 kB / 0.529 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.0105, allocations: 0 / 0.529 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005205/0.01102, allocations: 0.5619 MB / 0.5295 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.01107, allocations: 85.25 kB / 0.5296 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01107, allocations: 0 / 0.5296 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01109, allocations: 4 kB / 0.5296 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.01121, allocations: 37.94 kB / 0.5297 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01122, allocations: 7.938 kB / 0.5297 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.01139, allocations: 47.8 kB / 0.5297 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.01145, allocations: 63.98 kB / 0.5298 GB, free: 8.219 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.0001145/0.01157, allocations: 183.6 kB / 0.5299 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.01162, allocations: 49.19 kB / 0.53 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.01166, allocations: 31.69 kB / 0.53 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01166, allocations: 4 kB / 0.53 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01167, allocations: 0 / 0.53 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01167, allocations: 5.281 kB / 0.53 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.01233, allocations: 0.6725 MB / 0.5307 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01233, allocations: 0 / 0.5307 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.01236, allocations: 8 kB / 0.5307 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01236, allocations: 0.8125 kB / 0.5307 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.01239, allocations: 23.91 kB / 0.5307 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01239, allocations: 4.562 kB / 0.5307 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01239, allocations: 0 / 0.5307 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.01278, allocations: 465.4 kB / 0.5312 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.01292, allocations: 125.5 kB / 0.5313 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.01296, allocations: 16.64 kB / 0.5313 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01311, allocations: 21.02 kB / 0.5313 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.01313, allocations: 7.984 kB / 0.5313 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.01318, allocations: 66 kB / 0.5314 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001491/0.01333, allocations: 271 kB / 0.5316 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01333, allocations: 0 / 0.5316 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002211/0.01355, allocations: 67.98 kB / 0.5317 GB, free: 6.18 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 9.569e-05/0.01365, allocations: 118.3 kB / 0.5318 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.01408, allocations: 437 kB / 0.5322 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01408, allocations: 0 / 0.5322 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01419, allocations: 89.53 kB / 0.5323 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01444, allocations: 58.33 kB / 0.5324 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.01517, allocations: 478.7 kB / 0.5328 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.287e-05/0.01523, allocations: 87.8 kB / 0.5329 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.01526, allocations: 11.19 kB / 0.5329 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.0153, allocations: 20.98 kB / 0.533 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.0153, allocations: 1.531 kB / 0.533 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.006953/0.02225, allocations: 5.857 MB / 0.5387 GB, free: 15.01 MB / 0.5105 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9517350792884827]