Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001372/0.001372, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00164/0.00164, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9354/0.9354, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.8284/0.8284, allocations: 154.9 MB / 415.1 MB, free: 248 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5212 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.651e-05, allocations: 4.281 kB / 0.5212 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002168/0.002194, allocations: 1.752 MB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003287, allocations: 0.6143 MB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.003357, allocations: 0 / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.003449, allocations: 12.61 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.003571, allocations: 40.84 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.004203, allocations: 373.8 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.004608, allocations: 0.6009 MB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.004699, allocations: 21.28 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.005068, allocations: 424.5 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.005293, allocations: 147 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.005355, allocations: 44 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.005415, allocations: 40.69 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.005512, allocations: 124.5 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.005618, allocations: 151.7 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.005938, allocations: 434.8 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005942, allocations: 2.219 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005943, allocations: 0 / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005947, allocations: 0 / 0.5258 GB, free: 12.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008646/0.006812, allocations: 0.9504 MB / 0.5267 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.006855, allocations: 8.031 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.006961, allocations: 68.66 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.00725, allocations: 288 kB / 0.5271 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.007294, allocations: 24.36 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.007343, allocations: 32.36 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.007746, allocations: 212.8 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007755, allocations: 192 / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.007775, allocations: 4.375 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.007782, allocations: 2.812 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.007879, allocations: 67.45 kB / 0.5274 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.008652, allocations: 0.5421 MB / 0.5279 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.008837, allocations: 120.6 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.00892, allocations: 64.59 kB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.008944, allocations: 0.6562 kB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.009133, allocations: 184.4 kB / 0.5283 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.009135, allocations: 0 / 0.5283 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005057/0.009641, allocations: 366.7 kB / 0.5286 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.009671, allocations: 56.28 kB / 0.5287 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.009924, allocations: 430.5 kB / 0.5291 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.009959, allocations: 39.48 kB / 0.5291 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.01003, allocations: 152.1 kB / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.01006, allocations: 43.67 kB / 0.5293 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.01021, allocations: 139.1 kB / 0.5295 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01032, allocations: 0.4962 MB / 0.5299 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.01049, allocations: 168.5 kB / 0.5301 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.01066, allocations: 237.1 kB / 0.5303 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01085, allocations: 268 kB / 0.5306 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01085, allocations: 4.5 kB / 0.5306 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004732/0.01132, allocations: 0.5466 MB / 0.5311 GB, free: 7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.01138, allocations: 91.28 kB / 0.5312 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01139, allocations: 4 kB / 0.5312 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.0114, allocations: 7.984 kB / 0.5312 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01151, allocations: 27.98 kB / 0.5312 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01152, allocations: 3.938 kB / 0.5313 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.01169, allocations: 48.98 kB / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.01174, allocations: 63.97 kB / 0.5314 GB, free: 6.75 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001267/0.01187, allocations: 185 kB / 0.5315 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.01192, allocations: 55.69 kB / 0.5316 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.01196, allocations: 31.73 kB / 0.5316 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01197, allocations: 3.984 kB / 0.5316 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01197, allocations: 7.094 kB / 0.5316 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01197, allocations: 0 / 0.5316 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.01256, allocations: 0.6375 MB / 0.5323 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01256, allocations: 0 / 0.5323 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.01258, allocations: 7.938 kB / 0.5323 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01259, allocations: 0 / 0.5323 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.01261, allocations: 19.97 kB / 0.5323 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01261, allocations: 5.094 kB / 0.5323 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01261, allocations: 0 / 0.5323 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.01296, allocations: 464.6 kB / 0.5327 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.01313, allocations: 178.7 kB / 0.5329 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.01318, allocations: 16 kB / 0.5329 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.01336, allocations: 35 kB / 0.5329 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.01338, allocations: 7.984 kB / 0.533 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.01342, allocations: 59.97 kB / 0.533 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001312/0.01356, allocations: 267 kB / 0.5333 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01356, allocations: 0 / 0.5333 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002246/0.01378, allocations: 64 kB / 0.5333 GB, free: 4.695 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001282/0.01391, allocations: 128.3 kB / 0.5334 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.01435, allocations: 435 kB / 0.5339 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01436, allocations: 4.562 kB / 0.5339 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.01446, allocations: 81.06 kB / 0.5339 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01474, allocations: 66.86 kB / 0.534 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.0153, allocations: 486.8 kB / 0.5345 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01535, allocations: 87.81 kB / 0.5346 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.01539, allocations: 16.45 kB / 0.5346 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.01557, allocations: 150 kB / 0.5347 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/0.01557, allocations: 0 / 0.5347 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of Templates: time 0.006889/0.02246, allocations: 5.891 MB / 0.5405 GB, free: 13.39 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5430209427140653]