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.001421/0.001421, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001642/0.001642, allocations: 215.2 kB / 22.26 MB, free: 5.082 MB / 14.72 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 1.568/1.568, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.244/1.244, allocations: 203.8 MB / 0.5041 GB, free: 4.953 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 0.7188 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5663, allocations: 102 MB / 0.8184 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002562/0.5689, allocations: 1.755 MB / 0.8201 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.5701, allocations: 0.6274 MB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.5701, allocations: 1.969 kB / 0.8207 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.732e-05/0.5702, allocations: 11.23 kB / 0.8207 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.5703, allocations: 36.59 kB / 0.8207 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.5712, allocations: 364.9 kB / 0.8211 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.5723, allocations: 0.6017 MB / 0.8217 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5724, allocations: 24.33 kB / 0.8217 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.573, allocations: 322.3 kB / 0.822 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.5734, allocations: 164.2 kB / 0.8222 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.5734, allocations: 41.84 kB / 0.8222 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.5735, allocations: 40.97 kB / 0.8222 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.5737, allocations: 129.7 kB / 0.8224 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.5739, allocations: 217.6 kB / 0.8226 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.5745, allocations: 0.5944 MB / 0.8232 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5745, allocations: 0.5312 kB / 0.8232 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5745, allocations: 3.406 kB / 0.8232 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5745, allocations: 0.6094 kB / 0.8232 GB, free: 26.45 MB / 0.6387 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.001265/0.5758, allocations: 0.8486 MB / 0.824 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5758, allocations: 10.53 kB / 0.824 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.576, allocations: 61.16 kB / 0.8241 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.5764, allocations: 271.7 kB / 0.8243 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.5765, allocations: 25.86 kB / 0.8243 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.5765, allocations: 26.5 kB / 0.8244 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.5775, allocations: 237.7 kB / 0.8246 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5775, allocations: 4.125 kB / 0.8246 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.5776, allocations: 11.28 kB / 0.8246 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.5776, allocations: 2.594 kB / 0.8246 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.5783, allocations: 115.6 kB / 0.8247 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.5797, allocations: 0.6471 MB / 0.8254 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.5806, allocations: 174.5 kB / 0.8255 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.5813, allocations: 110.1 kB / 0.8256 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.5814, allocations: 2.625 kB / 0.8256 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009303/0.5823, allocations: 231.6 kB / 0.8259 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.5823, allocations: 0 / 0.8259 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.002609/0.5849, allocations: 0.4953 MB / 0.8263 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.585, allocations: 58.11 kB / 0.8264 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.5855, allocations: 444.9 kB / 0.8268 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.5856, allocations: 40.08 kB / 0.8269 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.5856, allocations: 100.9 kB / 0.827 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.5857, allocations: 46.94 kB / 0.827 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.5859, allocations: 144.3 kB / 0.8271 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.5859, allocations: 325 kB / 0.8274 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.5862, allocations: 139.7 kB / 0.8276 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.5865, allocations: 184.6 kB / 0.8278 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.5868, allocations: 297.6 kB / 0.828 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5868, allocations: 0 / 0.828 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008264/0.5877, allocations: 0.5213 MB / 0.8285 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.5877, allocations: 98 kB / 0.8286 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5877, allocations: 1.188 kB / 0.8286 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5878, allocations: 3.891 kB / 0.8286 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5879, allocations: 23.58 kB / 0.8287 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5879, allocations: 3.031 kB / 0.8287 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.5885, allocations: 63.31 kB / 0.8287 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5886, allocations: 61.33 kB / 0.8288 GB, free: 23.19 MB / 0.6387 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.0002785/0.5888, allocations: 223.2 kB / 0.829 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.5889, allocations: 41.62 kB / 0.829 GB, free: 23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.589, allocations: 42.67 kB / 0.8291 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.589, allocations: 2.75 kB / 0.8291 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.589, allocations: 0 / 0.8291 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.589, allocations: 0.7031 kB / 0.8291 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5911, allocations: 0.7655 MB / 0.8298 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5911, allocations: 2.234 kB / 0.8298 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.5911, allocations: 4.047 kB / 0.8298 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5911, allocations: 1.375 kB / 0.8298 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.5912, allocations: 30.92 kB / 0.8299 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5912, allocations: 3.938 kB / 0.8299 GB, free: 22.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5912, allocations: 1.828 kB / 0.8299 GB, free: 22.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.5928, allocations: 483.3 kB / 0.8303 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.5931, allocations: 180.9 kB / 0.8305 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.5932, allocations: 16.38 kB / 0.8305 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.5936, allocations: 32.61 kB / 0.8306 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.5936, allocations: 11.89 kB / 0.8306 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.5937, allocations: 55.95 kB / 0.8306 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003088/0.594, allocations: 320.7 kB / 0.8309 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.594, allocations: 4 kB / 0.8309 GB, free: 22.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004111/0.5944, allocations: 71.22 kB / 0.831 GB, free: 22.09 MB / 0.6387 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.0001555/0.5946, allocations: 124.9 kB / 0.8311 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.5958, allocations: 443.9 kB / 0.8315 GB, free: 21.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5958, allocations: 5.344 kB / 0.8315 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.5965, allocations: 120.9 kB / 0.8317 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.597, allocations: 35.97 kB / 0.8317 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5985, allocations: 0.5925 MB / 0.8323 GB, free: 21.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5987, allocations: 0.7951 MB / 0.833 GB, free: 20.67 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.5988, allocations: 16.02 kB / 0.8331 GB, free: 20.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.5989, allocations: 20.5 kB / 0.8331 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.5989, allocations: 5.219 kB / 0.8331 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of Templates: time 0.01352/0.6124, allocations: 5.496 MB / 0.8385 GB, free: 19.79 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.952121388167143] Failed to read output from testmodel.py, exit status != 0: 0.6210999339818954 0.6338924459999999 0.056779368000000004 Calling exit ...