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.0008433/0.0008433, 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.0008528/0.0008528, 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.9197/0.9197, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.7337/0.7337, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.0008969/0.0008969, allocations: 67.89 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4246, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00209/0.4267, allocations: 1.759 MB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.4277, allocations: 0.6293 MB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.4277, allocations: 0.7188 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.4278, allocations: 11.39 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.4279, allocations: 32.36 kB / 0.8215 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.4286, allocations: 369.6 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.4291, allocations: 0.6012 MB / 0.8224 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.4292, allocations: 27.98 kB / 0.8225 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.4296, allocations: 319.1 kB / 0.8228 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.4298, allocations: 162.8 kB / 0.8229 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.4299, allocations: 40.34 kB / 0.823 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.43, allocations: 42.09 kB / 0.823 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4301, allocations: 133.5 kB / 0.8231 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.4303, allocations: 217 kB / 0.8233 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.4308, allocations: 0.588 MB / 0.8239 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4308, allocations: 0 / 0.8239 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4308, allocations: 1.219 kB / 0.8239 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.4308, allocations: 1.25 kB / 0.8239 GB, free: 22.46 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.0008803/0.4317, allocations: 0.8483 MB / 0.8248 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4317, allocations: 10.5 kB / 0.8248 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.4318, allocations: 57.12 kB / 0.8248 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4321, allocations: 286.9 kB / 0.8251 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.4321, allocations: 25.06 kB / 0.8251 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.4322, allocations: 26.33 kB / 0.8251 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.4328, allocations: 235.6 kB / 0.8254 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4328, allocations: 192 / 0.8254 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.4328, allocations: 6.75 kB / 0.8254 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4328, allocations: 1.469 kB / 0.8254 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.4332, allocations: 125 kB / 0.8255 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.434, allocations: 0.6416 MB / 0.8261 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.4345, allocations: 173.4 kB / 0.8263 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.4349, allocations: 111.8 kB / 0.8264 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4349, allocations: 1.859 kB / 0.8264 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.4354, allocations: 231.4 kB / 0.8266 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.4354, allocations: 0 / 0.8266 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001303/0.4367, allocations: 495.3 kB / 0.8271 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.4367, allocations: 66.5 kB / 0.8271 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.4371, allocations: 444.6 kB / 0.8276 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4371, allocations: 44.86 kB / 0.8276 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.4372, allocations: 100.7 kB / 0.8277 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4372, allocations: 45.56 kB / 0.8278 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4374, allocations: 137 kB / 0.8279 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.4374, allocations: 325.9 kB / 0.8282 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4376, allocations: 134.8 kB / 0.8283 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.4378, allocations: 196.8 kB / 0.8285 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.438, allocations: 295.2 kB / 0.8288 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.438, allocations: 8.938 kB / 0.8288 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.4386, allocations: 0.5197 MB / 0.8293 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.4387, allocations: 97.5 kB / 0.8294 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4387, allocations: 1.656 kB / 0.8294 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4387, allocations: 2.969 kB / 0.8294 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4388, allocations: 24.36 kB / 0.8294 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4388, allocations: 2.812 kB / 0.8294 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.4391, allocations: 58.55 kB / 0.8295 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.4391, allocations: 58.36 kB / 0.8295 GB, free: 19.19 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.0001687/0.4393, allocations: 226.1 kB / 0.8298 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.4393, allocations: 38.34 kB / 0.8298 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.4394, allocations: 42.72 kB / 0.8298 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4394, allocations: 6.75 kB / 0.8298 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4394, allocations: 0 / 0.8298 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4394, allocations: 0.7969 kB / 0.8298 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4406, allocations: 0.7606 MB / 0.8306 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4406, allocations: 4 kB / 0.8306 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.4406, allocations: 5.344 kB / 0.8306 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4406, allocations: 5.281 kB / 0.8306 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.4406, allocations: 23.11 kB / 0.8306 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.4406, allocations: 7.938 kB / 0.8306 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4406, allocations: 1.188 kB / 0.8306 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.4415, allocations: 483.6 kB / 0.8311 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.4417, allocations: 181.3 kB / 0.8313 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.4418, allocations: 16.11 kB / 0.8313 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.442, allocations: 33.72 kB / 0.8313 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.442, allocations: 15.28 kB / 0.8313 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.4421, allocations: 56.55 kB / 0.8314 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002218/0.4423, allocations: 319.7 kB / 0.8317 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4423, allocations: 0 / 0.8317 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002556/0.4425, allocations: 70.67 kB / 0.8318 GB, free: 18.09 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.0001168/0.4426, allocations: 125.8 kB / 0.8319 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.4434, allocations: 445.1 kB / 0.8323 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4434, allocations: 0 / 0.8323 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.4437, allocations: 122.3 kB / 0.8324 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.444, allocations: 38.59 kB / 0.8325 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.4449, allocations: 0.653 MB / 0.8331 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.4451, allocations: 0.7897 MB / 0.8339 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.4451, allocations: 17.7 kB / 0.8339 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4451, allocations: 0 / 0.8339 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.005267/0.4504, allocations: 4.092 MB / 0.8379 GB, free: 16.06 MB / 0.6355 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.671845264965668] Failed to read output from testmodel.py, exit status != 0: 0.455953256925568 0.464144809 0.03164381 Calling exit ...