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.000682/0.000682, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007003/0.0007003, allocations: 216.2 kB / 23 MB, free: 2.98 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.8642/0.8642, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7176/0.7176, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.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: 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.0008571/0.0008571, allocations: 71.02 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4022, allocations: 102 MB / 0.8191 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001898/0.4041, allocations: 1.712 MB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.4051, allocations: 0.6089 MB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.4051, allocations: 2.281 kB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.4053, allocations: 14.53 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4054, allocations: 34.58 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.406, allocations: 370.9 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.4065, allocations: 0.5959 MB / 0.8223 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.4066, allocations: 24.77 kB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.4068, allocations: 323.1 kB / 0.8226 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4071, allocations: 142.6 kB / 0.8228 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.4071, allocations: 45.38 kB / 0.8228 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.4072, allocations: 44.25 kB / 0.8229 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.4073, allocations: 127.4 kB / 0.823 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4074, allocations: 174.9 kB / 0.8231 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.4079, allocations: 0.5987 MB / 0.8237 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4079, allocations: 1.25 kB / 0.8237 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4079, allocations: 0 / 0.8237 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.408, allocations: 0 / 0.8237 GB, free: 14.67 MB / 0.6198 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.0009815/0.4089, allocations: 0.8358 MB / 0.8245 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.409, allocations: 10.47 kB / 0.8246 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.4091, allocations: 64.61 kB / 0.8246 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4094, allocations: 283.2 kB / 0.8249 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.4094, allocations: 19.97 kB / 0.8249 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.4095, allocations: 34.89 kB / 0.8249 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.41, allocations: 240.4 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.41, allocations: 192 / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.41, allocations: 6.594 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.41, allocations: 5.5 kB / 0.8252 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.4104, allocations: 112.2 kB / 0.8253 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.4112, allocations: 0.5467 MB / 0.8258 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.4117, allocations: 175.2 kB / 0.826 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.4121, allocations: 105.1 kB / 0.8261 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4121, allocations: 2.938 kB / 0.8261 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.4126, allocations: 230.8 kB / 0.8263 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.4126, allocations: 1.312 kB / 0.8263 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001328/0.4139, allocations: 0.4887 MB / 0.8268 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.414, allocations: 62.12 kB / 0.8268 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.4143, allocations: 443.5 kB / 0.8273 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.4144, allocations: 40.89 kB / 0.8273 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.4144, allocations: 101.8 kB / 0.8274 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.4145, allocations: 40.58 kB / 0.8274 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4146, allocations: 137.5 kB / 0.8276 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.4147, allocations: 327.6 kB / 0.8279 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.415, allocations: 215.4 kB / 0.8281 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4152, allocations: 287.7 kB / 0.8284 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.4155, allocations: 285.4 kB / 0.8286 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4155, allocations: 1.188 kB / 0.8286 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006035/0.4161, allocations: 0.5981 MB / 0.8292 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.4162, allocations: 89.22 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4162, allocations: 1.156 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4162, allocations: 3.531 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4163, allocations: 19.97 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4163, allocations: 10.09 kB / 0.8293 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.4165, allocations: 58.84 kB / 0.8294 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.4166, allocations: 66.47 kB / 0.8295 GB, free: 11.2 MB / 0.6198 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.0002247/0.4168, allocations: 222.3 kB / 0.8297 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.4169, allocations: 37.48 kB / 0.8297 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.417, allocations: 39.38 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.417, allocations: 1.531 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.417, allocations: 0.5312 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.417, allocations: 5.984 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4183, allocations: 0.7127 MB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4183, allocations: 1.219 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.4184, allocations: 4.359 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4184, allocations: 9.062 kB / 0.8305 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.4184, allocations: 27.17 kB / 0.8305 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4184, allocations: 1.078 kB / 0.8305 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4184, allocations: 0.9375 kB / 0.8305 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.4193, allocations: 494.4 kB / 0.831 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.4195, allocations: 177.1 kB / 0.8311 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.4196, allocations: 17.69 kB / 0.8312 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4198, allocations: 32.42 kB / 0.8312 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.4198, allocations: 11.7 kB / 0.8312 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/0.4199, allocations: 59.92 kB / 0.8313 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002548/0.4201, allocations: 320.2 kB / 0.8316 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4201, allocations: 0 / 0.8316 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002666/0.4204, allocations: 70.75 kB / 0.8316 GB, free: 10.16 MB / 0.6198 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.0001232/0.4205, allocations: 126 kB / 0.8317 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007666/0.4213, allocations: 0.5026 MB / 0.8322 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4213, allocations: 0 / 0.8322 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.4216, allocations: 119.4 kB / 0.8324 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4219, allocations: 43.16 kB / 0.8324 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.4229, allocations: 0.6388 MB / 0.833 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.423, allocations: 189.3 kB / 0.8332 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.4231, allocations: 16.03 kB / 0.8332 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.4231, allocations: 0 / 0.8332 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of Templates: time 0.00492/0.428, allocations: 4.125 MB / 0.8372 GB, free: 7.848 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.445908708032221] Failed to read output from testmodel.py, exit status != 0: 0.43396914890035987 0.44163583300000003 0.032047058 Calling exit ...