Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0009275/0.0009275, 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.0008963/0.0008963, 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.9796/0.9796, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7647/0.7647, allocations: 154.9 MB / 415.1 MB, free: 268 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5212 GB, free: 408 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.509e-05, allocations: 3 kB / 0.5212 GB, free: 404 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002164/0.002189, allocations: 1.763 MB / 0.5229 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.003183, allocations: 0.6091 MB / 0.5235 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.003267, allocations: 4 kB / 0.5235 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.003364, allocations: 13.2 kB / 0.5235 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.003488, allocations: 42.02 kB / 0.5235 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.004202, allocations: 375.2 kB / 0.5239 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.004686, allocations: 0.597 MB / 0.5245 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.00478, allocations: 21.3 kB / 0.5245 GB, free: 13 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.005223, allocations: 419.5 kB / 0.5249 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.005466, allocations: 151.4 kB / 0.525 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.005532, allocations: 40 kB / 0.5251 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.118e-05/0.005593, allocations: 40 kB / 0.5251 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.005685, allocations: 124.6 kB / 0.5252 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.005794, allocations: 151.7 kB / 0.5254 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.006119, allocations: 444.1 kB / 0.5258 GB, free: 11.67 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006122, allocations: 0 / 0.5258 GB, free: 11.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006124, allocations: 0 / 0.5258 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006129, allocations: 0 / 0.5258 GB, free: 11.67 MB / 458.7 MB 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.0009025/0.007032, allocations: 0.9466 MB / 0.5267 GB, free: 10.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.007072, allocations: 16.8 kB / 0.5268 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.007175, allocations: 60.66 kB / 0.5268 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.007442, allocations: 284 kB / 0.5271 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.00748, allocations: 24.36 kB / 0.5271 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.007525, allocations: 32.36 kB / 0.5271 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.007873, allocations: 206.6 kB / 0.5273 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.007881, allocations: 0.6875 kB / 0.5273 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.0079, allocations: 9.359 kB / 0.5273 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.007907, allocations: 8.375 kB / 0.5273 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.008002, allocations: 62.3 kB / 0.5274 GB, free: 9.941 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.00874, allocations: 0.5428 MB / 0.5279 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.008923, allocations: 130.3 kB / 0.5281 GB, free: 9.238 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.009006, allocations: 56.56 kB / 0.5281 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.009028, allocations: 5.281 kB / 0.5281 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.00921, allocations: 181.3 kB / 0.5283 GB, free: 8.992 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.009212, allocations: 0.75 kB / 0.5283 GB, free: 8.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004676/0.009679, allocations: 357.2 kB / 0.5286 GB, free: 8.652 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.009712, allocations: 67.33 kB / 0.5287 GB, free: 8.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.009964, allocations: 427 kB / 0.5291 GB, free: 8.141 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.01, allocations: 47.16 kB / 0.5292 GB, free: 8.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.01007, allocations: 148.1 kB / 0.5293 GB, free: 7.938 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.0101, allocations: 43.67 kB / 0.5293 GB, free: 7.895 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.01022, allocations: 139.1 kB / 0.5295 GB, free: 7.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01032, allocations: 0.5006 MB / 0.53 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.01049, allocations: 168.2 kB / 0.5301 GB, free: 7.062 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.01065, allocations: 241.1 kB / 0.5303 GB, free: 6.785 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.01084, allocations: 270.4 kB / 0.5306 GB, free: 6.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01084, allocations: 0 / 0.5306 GB, free: 6.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004846/0.01133, allocations: 0.5448 MB / 0.5311 GB, free: 5.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.01139, allocations: 87.38 kB / 0.5312 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01139, allocations: 0 / 0.5312 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01141, allocations: 5.312 kB / 0.5312 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01151, allocations: 35.91 kB / 0.5313 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01152, allocations: 4 kB / 0.5313 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.01169, allocations: 49.23 kB / 0.5313 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.01175, allocations: 59.98 kB / 0.5314 GB, free: 5.664 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.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.0001242/0.01187, allocations: 193.2 kB / 0.5316 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.01192, allocations: 51.67 kB / 0.5316 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.01197, allocations: 35.73 kB / 0.5316 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01197, allocations: 4 kB / 0.5316 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01197, allocations: 0.9688 kB / 0.5316 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01198, allocations: 0 / 0.5316 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.01259, allocations: 0.6333 MB / 0.5323 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01259, allocations: 0 / 0.5323 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.01262, allocations: 8 kB / 0.5323 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01263, allocations: 4 kB / 0.5323 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.01265, allocations: 23.97 kB / 0.5323 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01265, allocations: 2.25 kB / 0.5323 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01265, allocations: 0 / 0.5323 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.01302, allocations: 470.4 kB / 0.5327 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.01318, allocations: 157.5 kB / 0.5329 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.01323, allocations: 23.98 kB / 0.5329 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.01341, allocations: 33.47 kB / 0.5329 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.01343, allocations: 8.828 kB / 0.533 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.01347, allocations: 55.98 kB / 0.533 GB, free: 3.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.0136, allocations: 263 kB / 0.5333 GB, free: 3.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0136, allocations: 0.8125 kB / 0.5333 GB, free: 3.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.01385, allocations: 75.94 kB / 0.5333 GB, free: 3.609 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.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.0001278/0.01397, allocations: 124.9 kB / 0.5335 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.01441, allocations: 443.2 kB / 0.5339 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01441, allocations: 0 / 0.5339 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.01451, allocations: 82.3 kB / 0.534 GB, free: 2.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01478, allocations: 66.03 kB / 0.534 GB, free: 2.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.01536, allocations: 491.7 kB / 0.5345 GB, free: 2.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01541, allocations: 87.67 kB / 0.5346 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.656e-05/0.01546, allocations: 15.14 kB / 0.5346 GB, free: 2.254 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.01567, allocations: 146.1 kB / 0.5347 GB, free: 2.117 MB / 458.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01567, allocations: 0 / 0.5347 GB, free: 2.117 MB / 458.7 MB Notification: Performance of Templates: time 0.007256/0.02293, allocations: 5.891 MB / 0.5405 GB, free: 12.35 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4880336388014257]