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.000806/0.000806, 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.0009565/0.0009565, allocations: 212.7 kB / 23 MB, free: 2.977 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.854/0.854, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7241/0.7241, allocations: 203.8 MB / 0.5049 GB, free: 10.48 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.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.0008432/0.0008432, allocations: 67.5 kB / 0.7194 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4202, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001892/0.4221, allocations: 1.721 MB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.423, allocations: 0.6071 MB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.4231, allocations: 3.469 kB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.4232, allocations: 17.91 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.4233, allocations: 36.73 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.424, allocations: 365.9 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.4245, allocations: 0.601 MB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.4246, allocations: 21.05 kB / 0.8223 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.4248, allocations: 325.7 kB / 0.8227 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.4252, allocations: 142 kB / 0.8228 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.4252, allocations: 42.38 kB / 0.8228 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.4253, allocations: 40.62 kB / 0.8229 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4254, allocations: 123.6 kB / 0.823 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4255, allocations: 178.4 kB / 0.8232 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.426, allocations: 0.603 MB / 0.8237 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.426, allocations: 4.562 kB / 0.8237 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.426, allocations: 0 / 0.8237 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.426, allocations: 4 kB / 0.8238 GB, free: 14.66 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.0009333/0.427, allocations: 0.8363 MB / 0.8246 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.427, allocations: 9.125 kB / 0.8246 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.509e-05/0.4271, allocations: 57.19 kB / 0.8246 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4274, allocations: 280.7 kB / 0.8249 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.4274, allocations: 23.39 kB / 0.8249 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.4275, allocations: 26.28 kB / 0.8249 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.428, allocations: 240.1 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.428, allocations: 0.8906 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.4281, allocations: 9.797 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4281, allocations: 2.844 kB / 0.8252 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.4285, allocations: 114.2 kB / 0.8253 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.4292, allocations: 0.5374 MB / 0.8258 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.4298, allocations: 173.8 kB / 0.826 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.4301, allocations: 108.3 kB / 0.8261 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4301, allocations: 7.984 kB / 0.8261 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.4307, allocations: 231.5 kB / 0.8263 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.295e-06/0.4307, allocations: 0 / 0.8263 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.00131/0.432, allocations: 498.4 kB / 0.8268 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.432, allocations: 58.52 kB / 0.8268 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.4323, allocations: 444.8 kB / 0.8273 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4324, allocations: 41.09 kB / 0.8273 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.4324, allocations: 108.8 kB / 0.8274 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4325, allocations: 45 kB / 0.8275 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4326, allocations: 138.5 kB / 0.8276 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.4327, allocations: 325.2 kB / 0.8279 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.433, allocations: 228.2 kB / 0.8281 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4333, allocations: 271.1 kB / 0.8284 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.4336, allocations: 287.7 kB / 0.8287 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4336, allocations: 5.25 kB / 0.8287 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006136/0.4342, allocations: 0.5938 MB / 0.8292 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.4342, allocations: 89.11 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4342, allocations: 1.156 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4343, allocations: 3.156 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4344, allocations: 23.88 kB / 0.8293 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4344, allocations: 6.562 kB / 0.8294 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.4346, allocations: 63.95 kB / 0.8294 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/0.4347, allocations: 60.84 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.0002216/0.4349, allocations: 218.8 kB / 0.8297 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.435, allocations: 41.75 kB / 0.8297 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.4351, allocations: 43.03 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4351, allocations: 1.656 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4351, allocations: 4.5 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4351, allocations: 1.875 kB / 0.8298 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.4364, allocations: 0.7075 MB / 0.8305 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4364, allocations: 1.25 kB / 0.8305 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.4364, allocations: 12.03 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4364, allocations: 5.094 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4364, allocations: 18.88 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4364, allocations: 1.031 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4364, allocations: 1.094 kB / 0.8305 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.4373, allocations: 488.5 kB / 0.831 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.4375, allocations: 190.4 kB / 0.8311 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.4376, allocations: 15.83 kB / 0.8312 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.4378, allocations: 28.61 kB / 0.8312 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.4378, allocations: 16.58 kB / 0.8312 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.4379, allocations: 56.5 kB / 0.8313 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002401/0.4381, allocations: 319 kB / 0.8316 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4381, allocations: 0 / 0.8316 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002506/0.4384, allocations: 71.05 kB / 0.8316 GB, free: 10.17 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.0001175/0.4385, allocations: 130.7 kB / 0.8318 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.4393, allocations: 0.5046 MB / 0.8322 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4393, allocations: 0 / 0.8322 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.4396, allocations: 123.6 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.0002774/0.4399, allocations: 46.84 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.0009676/0.4409, allocations: 0.6378 MB / 0.833 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.441, allocations: 184.2 kB / 0.8332 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.4411, allocations: 25.16 kB / 0.8332 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.4411, allocations: 0 / 0.8332 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of Templates: time 0.004708/0.4458, allocations: 4.112 MB / 0.8372 GB, free: 7.887 MB / 0.6198 GB " [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=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: 5.331590862944722] Failed to read output from testmodel.py, exit status != 0: 0.45089033292606473 0.46064622200000005 0.032692642 Calling exit ...