Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0008457/0.0008457, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0009535/0.0009535, allocations: 207.2 kB / 23 MB, free: 3.125 MB / 13.93 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.9383/0.9383, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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-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 0.7387/0.7387, allocations: 203.8 MB / 0.5049 GB, free: 0.6641 MB / 410.7 MB " [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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [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.0009392/0.0009392, allocations: 71.88 kB / 0.7195 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4422, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002182/0.4444, allocations: 1.765 MB / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.4454, allocations: 0.6286 MB / 0.8215 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.4455, allocations: 1.031 kB / 0.8215 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.852e-05/0.4456, allocations: 11.53 kB / 0.8215 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.4457, allocations: 37.48 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.4464, allocations: 370.5 kB / 0.8219 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.4469, allocations: 0.5967 MB / 0.8224 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.447, allocations: 25.56 kB / 0.8225 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.4474, allocations: 322.7 kB / 0.8228 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.4476, allocations: 155.5 kB / 0.8229 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.4477, allocations: 40.94 kB / 0.823 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.4478, allocations: 42.38 kB / 0.823 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4479, allocations: 129.3 kB / 0.8231 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.4481, allocations: 220.6 kB / 0.8233 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.4487, allocations: 0.5922 MB / 0.8239 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4487, allocations: 1.188 kB / 0.8239 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4487, allocations: 0 / 0.8239 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.4487, allocations: 0 / 0.8239 GB, free: 22.49 MB / 0.6355 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.0009136/0.4496, allocations: 0.8441 MB / 0.8247 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4496, allocations: 10.16 kB / 0.8248 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.4497, allocations: 56.95 kB / 0.8248 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.45, allocations: 288 kB / 0.8251 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.45, allocations: 24.59 kB / 0.8251 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.4501, allocations: 27.06 kB / 0.8251 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.4507, allocations: 234.1 kB / 0.8254 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4507, allocations: 2.125 kB / 0.8254 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4507, allocations: 11.02 kB / 0.8254 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4507, allocations: 1.344 kB / 0.8254 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.4511, allocations: 119.6 kB / 0.8255 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.4519, allocations: 0.6458 MB / 0.8261 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.4524, allocations: 173.7 kB / 0.8263 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.4527, allocations: 106.1 kB / 0.8264 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4528, allocations: 2.344 kB / 0.8264 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.4532, allocations: 237.6 kB / 0.8266 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4532, allocations: 3.938 kB / 0.8266 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001258/0.4545, allocations: 0.4899 MB / 0.8271 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.4545, allocations: 57.91 kB / 0.8271 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.4548, allocations: 448 kB / 0.8276 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4549, allocations: 39.97 kB / 0.8276 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.4549, allocations: 105.9 kB / 0.8277 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.455, allocations: 37.44 kB / 0.8278 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4551, allocations: 137.1 kB / 0.8279 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.4551, allocations: 326.4 kB / 0.8282 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.4553, allocations: 142.6 kB / 0.8283 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4555, allocations: 192.3 kB / 0.8285 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.4558, allocations: 300 kB / 0.8288 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4558, allocations: 1.781 kB / 0.8288 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005423/0.4563, allocations: 0.522 MB / 0.8293 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.4564, allocations: 97.67 kB / 0.8294 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4564, allocations: 2.156 kB / 0.8294 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4564, allocations: 2.312 kB / 0.8294 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4565, allocations: 24.28 kB / 0.8294 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4565, allocations: 3.562 kB / 0.8294 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.4568, allocations: 62.22 kB / 0.8295 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.4568, allocations: 62.47 kB / 0.8296 GB, free: 19.21 MB / 0.6355 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.0001625/0.457, allocations: 219.1 kB / 0.8298 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.457, allocations: 37.48 kB / 0.8298 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.4571, allocations: 50.06 kB / 0.8298 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4571, allocations: 2.812 kB / 0.8298 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4571, allocations: 0 / 0.8298 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4571, allocations: 1.359 kB / 0.8298 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4582, allocations: 0.7635 MB / 0.8306 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4582, allocations: 0 / 0.8306 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.4583, allocations: 5.672 kB / 0.8306 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4583, allocations: 3.938 kB / 0.8306 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4583, allocations: 23.31 kB / 0.8306 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4583, allocations: 5.312 kB / 0.8306 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4583, allocations: 0 / 0.8306 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.4591, allocations: 481.3 kB / 0.8311 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.4593, allocations: 181.2 kB / 0.8313 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.4594, allocations: 16.36 kB / 0.8313 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4596, allocations: 32.36 kB / 0.8313 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4596, allocations: 16.7 kB / 0.8313 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.4597, allocations: 55.81 kB / 0.8314 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002286/0.4599, allocations: 323.7 kB / 0.8317 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4599, allocations: 0 / 0.8317 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002577/0.4602, allocations: 75.16 kB / 0.8318 GB, free: 18.12 MB / 0.6355 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.0001142/0.4603, allocations: 122.3 kB / 0.8319 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.461, allocations: 445.8 kB / 0.8323 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.461, allocations: 0 / 0.8323 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.4614, allocations: 115.8 kB / 0.8324 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4616, allocations: 42.66 kB / 0.8325 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.4626, allocations: 0.6459 MB / 0.8331 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.4628, allocations: 0.7918 MB / 0.8339 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.4628, allocations: 15.42 kB / 0.8339 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4628, allocations: 0 / 0.8339 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.005795/0.4686, allocations: 4.097 MB / 0.8379 GB, free: 16.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.605199152138084] Failed to read output from testmodel.py, exit status != 0: 0.4746487820520997 0.48267131799999996 0.032213481 Calling exit ...