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.0008008/0.0008008, 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.0008043/0.0008043, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.9138/0.9138, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7427/0.7427, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 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.0009001/0.0009001, allocations: 71.88 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4621, allocations: 102 MB / 0.8191 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001935/0.4641, allocations: 1.752 MB / 0.8208 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.465, allocations: 0.6335 MB / 0.8214 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.465, allocations: 0.625 kB / 0.8214 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.4651, allocations: 15.11 kB / 0.8215 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4652, allocations: 32.62 kB / 0.8215 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.4658, allocations: 372 kB / 0.8218 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.4662, allocations: 0.5942 MB / 0.8224 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.4663, allocations: 29.64 kB / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.4666, allocations: 317.9 kB / 0.8228 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.4668, allocations: 161.5 kB / 0.8229 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.4669, allocations: 40.84 kB / 0.823 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.467, allocations: 41.62 kB / 0.823 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.4671, allocations: 128.4 kB / 0.8231 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.4672, allocations: 218.5 kB / 0.8233 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.4677, allocations: 0.5961 MB / 0.8239 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4677, allocations: 0.7031 kB / 0.8239 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4677, allocations: 0 / 0.8239 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4678, allocations: 4.781 kB / 0.8239 GB, free: 22.34 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.0009629/0.4687, allocations: 0.8466 MB / 0.8247 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4688, allocations: 10.59 kB / 0.8247 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4689, allocations: 56.77 kB / 0.8248 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4692, allocations: 280.8 kB / 0.8251 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.4692, allocations: 20.56 kB / 0.8251 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.4693, allocations: 34.03 kB / 0.8251 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.4699, allocations: 241.6 kB / 0.8254 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4699, allocations: 192 / 0.8254 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.4699, allocations: 6.375 kB / 0.8254 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4699, allocations: 2.406 kB / 0.8254 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.4703, allocations: 116.7 kB / 0.8255 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.4711, allocations: 0.6503 MB / 0.8261 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.4716, allocations: 170.4 kB / 0.8263 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.4719, allocations: 109.2 kB / 0.8264 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4719, allocations: 3.031 kB / 0.8264 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.4724, allocations: 228.8 kB / 0.8266 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4724, allocations: 5.281 kB / 0.8266 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001227/0.4736, allocations: 495.3 kB / 0.8271 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4736, allocations: 66.25 kB / 0.8271 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.4739, allocations: 443.7 kB / 0.8276 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.474, allocations: 40.52 kB / 0.8276 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.474, allocations: 102.3 kB / 0.8277 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.4741, allocations: 44.77 kB / 0.8277 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4742, allocations: 137.6 kB / 0.8279 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.4742, allocations: 325.1 kB / 0.8282 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4744, allocations: 135.1 kB / 0.8283 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4746, allocations: 197.5 kB / 0.8285 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.4748, allocations: 299.5 kB / 0.8288 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4748, allocations: 0.5156 kB / 0.8288 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005096/0.4753, allocations: 0.5196 MB / 0.8293 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.4754, allocations: 94.38 kB / 0.8294 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4754, allocations: 1.531 kB / 0.8294 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4754, allocations: 7.156 kB / 0.8294 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.4755, allocations: 27.31 kB / 0.8294 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4755, allocations: 3.719 kB / 0.8294 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4757, allocations: 54.52 kB / 0.8295 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.4758, allocations: 57.83 kB / 0.8295 GB, free: 19.08 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.0001385/0.4759, allocations: 238.7 kB / 0.8298 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.476, allocations: 38.44 kB / 0.8298 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.476, allocations: 42.3 kB / 0.8298 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.476, allocations: 2.75 kB / 0.8298 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.476, allocations: 0 / 0.8298 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.476, allocations: 0.7969 kB / 0.8298 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.4771, allocations: 0.7641 MB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4771, allocations: 0.6562 kB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.4771, allocations: 5.297 kB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4771, allocations: 5.312 kB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.4772, allocations: 17.77 kB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4772, allocations: 5.25 kB / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4772, allocations: 0 / 0.8306 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.4781, allocations: 488.4 kB / 0.8311 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4783, allocations: 172.5 kB / 0.8312 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.4784, allocations: 20.41 kB / 0.8313 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4786, allocations: 37.45 kB / 0.8313 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4786, allocations: 8.188 kB / 0.8313 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.4787, allocations: 59.91 kB / 0.8314 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002622/0.479, allocations: 319.8 kB / 0.8317 GB, free: 18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.479, allocations: 0 / 0.8317 GB, free: 18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002434/0.4792, allocations: 71.28 kB / 0.8317 GB, free: 17.99 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.0001344/0.4793, allocations: 131.8 kB / 0.8319 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.4801, allocations: 437.5 kB / 0.8323 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4801, allocations: 0 / 0.8323 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.4805, allocations: 122.7 kB / 0.8324 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.4808, allocations: 41.03 kB / 0.8324 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.4817, allocations: 0.6399 MB / 0.8331 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.4818, allocations: 0.7896 MB / 0.8338 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.4819, allocations: 28.84 kB / 0.8339 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4819, allocations: 0 / 0.8339 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.004763/0.4866, allocations: 4.093 MB / 0.8379 GB, free: 15.95 MB / 0.6355 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.585035842843354] Failed to read output from testmodel.py, exit status != 0: 0.4919160380959511 0.500606246 0.030911904 Calling exit ...