Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.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.001436/0.001436, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00181/0.00181, allocations: 212.6 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 1.271/1.271, allocations: 203.8 MB / 0.5041 GB, free: 4.539 MB / 414.1 MB " [Timeout remaining time 178] 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.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.002184/0.002184, allocations: 71.88 kB / 0.7186 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6426, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002861/0.6454, allocations: 1.528 MB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.6467, allocations: 0.5278 MB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.6468, allocations: 2 kB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.6469, allocations: 10.22 kB / 0.8202 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.647, allocations: 26.06 kB / 0.8203 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.648, allocations: 321.9 kB / 0.8206 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.6487, allocations: 486.7 kB / 0.821 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.6487, allocations: 6.469 kB / 0.821 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.6492, allocations: 280.6 kB / 0.8213 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.6496, allocations: 131.6 kB / 0.8214 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.6497, allocations: 27.38 kB / 0.8215 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.6498, allocations: 28.09 kB / 0.8215 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.6499, allocations: 118.8 kB / 0.8216 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.6501, allocations: 153.4 kB / 0.8217 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.6506, allocations: 431.6 kB / 0.8222 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6506, allocations: 0 / 0.8222 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6506, allocations: 0 / 0.8222 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.6506, allocations: 1.688 kB / 0.8222 GB, free: 26.72 MB / 0.6387 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.001265/0.6519, allocations: 0.7976 MB / 0.8229 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6519, allocations: 12.84 kB / 0.823 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.6521, allocations: 50.8 kB / 0.823 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.6525, allocations: 252.3 kB / 0.8232 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.6525, allocations: 20.92 kB / 0.8233 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.6526, allocations: 31.69 kB / 0.8233 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6536, allocations: 216.6 kB / 0.8235 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6537, allocations: 4.125 kB / 0.8235 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.6537, allocations: 8.281 kB / 0.8235 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6537, allocations: 2.656 kB / 0.8235 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.6545, allocations: 103.9 kB / 0.8236 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.6549, allocations: 284.2 kB / 0.8239 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.656, allocations: 165.8 kB / 0.824 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.6568, allocations: 104.1 kB / 0.8241 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.6568, allocations: 3.25 kB / 0.8241 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.658, allocations: 224.5 kB / 0.8244 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.658, allocations: 0 / 0.8244 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.00322/0.6612, allocations: 496.4 kB / 0.8248 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.6612, allocations: 63.19 kB / 0.8249 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.662, allocations: 410.9 kB / 0.8253 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.6621, allocations: 40.41 kB / 0.8253 GB, free: 25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.6622, allocations: 91.2 kB / 0.8254 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.6623, allocations: 44.41 kB / 0.8254 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.6626, allocations: 127.9 kB / 0.8256 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6627, allocations: 321.5 kB / 0.8259 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.6631, allocations: 193.1 kB / 0.8261 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.6635, allocations: 239.4 kB / 0.8263 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.6639, allocations: 278.2 kB / 0.8266 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6639, allocations: 1.312 kB / 0.8266 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001034/0.6649, allocations: 0.5485 MB / 0.8271 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/0.665, allocations: 80.12 kB / 0.8272 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.665, allocations: 7.594 kB / 0.8272 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6651, allocations: 6.688 kB / 0.8272 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.6653, allocations: 26.8 kB / 0.8272 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6653, allocations: 3.359 kB / 0.8272 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.6658, allocations: 58.94 kB / 0.8273 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.6659, allocations: 57.22 kB / 0.8273 GB, free: 23.67 MB / 0.6387 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.0002385/0.6661, allocations: 196.5 kB / 0.8275 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.6662, allocations: 38.44 kB / 0.8275 GB, free: 23.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.6663, allocations: 49.7 kB / 0.8276 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6663, allocations: 1.344 kB / 0.8276 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6663, allocations: 0 / 0.8276 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6663, allocations: 2.766 kB / 0.8276 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.6687, allocations: 0.6824 MB / 0.8283 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6687, allocations: 4.594 kB / 0.8283 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.6687, allocations: 5.516 kB / 0.8283 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6688, allocations: 1.438 kB / 0.8283 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.6688, allocations: 22.56 kB / 0.8283 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.6688, allocations: 5.469 kB / 0.8283 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6688, allocations: 4 kB / 0.8283 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6707, allocations: 485.7 kB / 0.8288 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.671, allocations: 139.9 kB / 0.8289 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.6711, allocations: 10.58 kB / 0.8289 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.6716, allocations: 33.64 kB / 0.8289 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.6716, allocations: 8.078 kB / 0.829 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.6717, allocations: 59.84 kB / 0.829 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003414/0.672, allocations: 297.7 kB / 0.8293 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.672, allocations: 1.062 kB / 0.8293 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004571/0.6725, allocations: 65.62 kB / 0.8294 GB, free: 22.71 MB / 0.6387 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.0001479/0.6726, allocations: 107.4 kB / 0.8295 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.674, allocations: 478.8 kB / 0.8299 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.674, allocations: 0 / 0.8299 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.6748, allocations: 109.8 kB / 0.83 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.6752, allocations: 36.91 kB / 0.8301 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.6768, allocations: 0.5551 MB / 0.8306 GB, free: 22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.677, allocations: 173 kB / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.056e-05/0.677, allocations: 11.62 kB / 0.8308 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.6771, allocations: 19.52 kB / 0.8308 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.6771, allocations: 0 / 0.8308 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.01338/0.6905, allocations: 6.05 MB / 0.8367 GB, free: 20.71 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.998332595452666] Failed to read output from testmodel.py, exit status != 0: 0.7005445882678032 0.715433708 0.061971737000000006 Calling exit ...