Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.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.0007257/0.0007257, 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.0007241/0.0007241, allocations: 207.8 kB / 23 MB, free: 3.121 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.8349/0.8349, 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.7465/0.7465, 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.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.000845/0.000845, allocations: 63.89 kB / 0.7194 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4433, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002522/0.4459, allocations: 1.549 MB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.447, allocations: 0.551 MB / 0.8211 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.4471, allocations: 0.9375 kB / 0.8211 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.4472, allocations: 11.17 kB / 0.8211 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4473, allocations: 27.5 kB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.4479, allocations: 314.2 kB / 0.8215 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.4484, allocations: 485.5 kB / 0.8219 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.986e-05/0.4485, allocations: 4.141 kB / 0.8219 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.4489, allocations: 282.2 kB / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.4492, allocations: 146.2 kB / 0.8223 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.4492, allocations: 27.84 kB / 0.8224 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.4493, allocations: 26.16 kB / 0.8224 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4494, allocations: 119.1 kB / 0.8225 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.4496, allocations: 183.4 kB / 0.8227 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.4501, allocations: 425.6 kB / 0.8231 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4501, allocations: 0 / 0.8231 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4501, allocations: 0.5938 kB / 0.8231 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4501, allocations: 0.5938 kB / 0.8231 GB, free: 22.96 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009456/0.451, allocations: 0.804 MB / 0.8239 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4511, allocations: 11.34 kB / 0.8239 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.4512, allocations: 51.78 kB / 0.8239 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4514, allocations: 263.6 kB / 0.8242 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.4515, allocations: 19.09 kB / 0.8242 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.4515, allocations: 24.39 kB / 0.8242 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.4521, allocations: 224 kB / 0.8244 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4521, allocations: 192 / 0.8244 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.4521, allocations: 10.91 kB / 0.8244 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4521, allocations: 1.781 kB / 0.8244 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.4525, allocations: 100.1 kB / 0.8245 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.4528, allocations: 359.1 kB / 0.8249 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.4533, allocations: 167 kB / 0.825 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.4537, allocations: 106.3 kB / 0.8251 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4537, allocations: 1.969 kB / 0.8251 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.4541, allocations: 224.3 kB / 0.8254 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.4541, allocations: 0 / 0.8254 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001234/0.4554, allocations: 492.1 kB / 0.8258 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.4554, allocations: 61.62 kB / 0.8259 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.4557, allocations: 414.9 kB / 0.8263 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4557, allocations: 40.59 kB / 0.8263 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.4558, allocations: 94.83 kB / 0.8264 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.4558, allocations: 41.05 kB / 0.8264 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4559, allocations: 131.3 kB / 0.8266 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.456, allocations: 321.8 kB / 0.8269 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4562, allocations: 120.7 kB / 0.827 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.4564, allocations: 169.7 kB / 0.8272 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4566, allocations: 279.5 kB / 0.8274 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4566, allocations: 1.188 kB / 0.8274 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005427/0.4572, allocations: 498.1 kB / 0.8279 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.4572, allocations: 92.03 kB / 0.828 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4572, allocations: 6.906 kB / 0.828 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4572, allocations: 1.531 kB / 0.828 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4573, allocations: 24.19 kB / 0.828 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4574, allocations: 4.094 kB / 0.828 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.4576, allocations: 61.84 kB / 0.8281 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.4577, allocations: 61.52 kB / 0.8281 GB, free: 20.04 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001477/0.4578, allocations: 190.1 kB / 0.8283 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4578, allocations: 39.14 kB / 0.8284 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4579, allocations: 43.39 kB / 0.8284 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4579, allocations: 1.219 kB / 0.8284 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4579, allocations: 1.312 kB / 0.8284 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4579, allocations: 5.219 kB / 0.8284 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.4591, allocations: 0.7187 MB / 0.8291 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4591, allocations: 1.531 kB / 0.8291 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.4591, allocations: 9.094 kB / 0.8291 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4592, allocations: 5.312 kB / 0.8291 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.4592, allocations: 22.3 kB / 0.8291 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4592, allocations: 6.047 kB / 0.8291 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4592, allocations: 0 / 0.8291 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.46, allocations: 481.4 kB / 0.8296 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.4602, allocations: 132.6 kB / 0.8297 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.4603, allocations: 11.2 kB / 0.8297 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4605, allocations: 32.84 kB / 0.8298 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4605, allocations: 7.422 kB / 0.8298 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.4606, allocations: 60.73 kB / 0.8298 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002121/0.4608, allocations: 298.3 kB / 0.8301 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4608, allocations: 0 / 0.8301 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002332/0.461, allocations: 64.75 kB / 0.8302 GB, free: 19.05 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001064/0.4611, allocations: 116.8 kB / 0.8303 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007038/0.4618, allocations: 400.5 kB / 0.8307 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4619, allocations: 3.938 kB / 0.8307 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.4622, allocations: 111.7 kB / 0.8308 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.4625, allocations: 33.67 kB / 0.8308 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.4635, allocations: 0.5933 MB / 0.8314 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.4636, allocations: 0.7789 MB / 0.8322 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.4637, allocations: 20.12 kB / 0.8322 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.4637, allocations: 0 / 0.8322 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.004982/0.4687, allocations: 3.67 MB / 0.8358 GB, free: 17.16 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7444948388729244] Failed to read output from testmodel.py, exit status != 0: 0.4740205779671669 0.482290002 0.030327836 Calling exit ...