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.001414/0.001414, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001682/0.001682, allocations: 215.3 kB / 22.25 MB, free: 5.082 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.008 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.283/1.283, allocations: 203.8 MB / 0.5041 GB, free: 4.914 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.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.002162/0.002162, allocations: 70.08 kB / 0.7187 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6395, allocations: 102 MB / 0.8184 GB, free: 29.24 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003195/0.6427, allocations: 1.761 MB / 0.8201 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.6444, allocations: 0.6271 MB / 0.8207 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.6445, allocations: 0.6875 kB / 0.8207 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.6447, allocations: 15.77 kB / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.6448, allocations: 36.03 kB / 0.8207 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.646, allocations: 365.4 kB / 0.8211 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.6468, allocations: 0.6005 MB / 0.8217 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.6469, allocations: 28.77 kB / 0.8217 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.6475, allocations: 322.6 kB / 0.822 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.6478, allocations: 157 kB / 0.8222 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.6479, allocations: 40.31 kB / 0.8222 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.337e-05/0.648, allocations: 41 kB / 0.8222 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.6481, allocations: 130.8 kB / 0.8224 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.6483, allocations: 217.9 kB / 0.8226 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.649, allocations: 0.5992 MB / 0.8232 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.649, allocations: 1.031 kB / 0.8232 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.649, allocations: 0 / 0.8232 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.649, allocations: 1.062 kB / 0.8232 GB, free: 26.47 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001251/0.6502, allocations: 0.8415 MB / 0.824 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6503, allocations: 12.38 kB / 0.824 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.6504, allocations: 56.23 kB / 0.824 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.6508, allocations: 280.8 kB / 0.8243 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.6509, allocations: 20.14 kB / 0.8243 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.651, allocations: 33.77 kB / 0.8244 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.6519, allocations: 235.3 kB / 0.8246 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.652, allocations: 192 / 0.8246 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.652, allocations: 9.953 kB / 0.8246 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.652, allocations: 5 kB / 0.8246 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.6527, allocations: 120.5 kB / 0.8247 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.6541, allocations: 0.6477 MB / 0.8253 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.655, allocations: 170.4 kB / 0.8255 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.6557, allocations: 109.2 kB / 0.8256 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6558, allocations: 2.969 kB / 0.8256 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009562/0.6567, allocations: 235.2 kB / 0.8258 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.6567, allocations: 3.125 kB / 0.8258 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.00259/0.6593, allocations: 0.4893 MB / 0.8263 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6594, allocations: 62.64 kB / 0.8264 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.6599, allocations: 439.4 kB / 0.8268 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.66, allocations: 45.31 kB / 0.8268 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.66, allocations: 101.7 kB / 0.8269 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.6601, allocations: 41.34 kB / 0.827 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.6603, allocations: 132.8 kB / 0.8271 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.6603, allocations: 333.5 kB / 0.8274 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.6606, allocations: 138.1 kB / 0.8276 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.6609, allocations: 189.5 kB / 0.8277 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.6613, allocations: 299.2 kB / 0.828 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6613, allocations: 1.156 kB / 0.828 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000843/0.6621, allocations: 0.5275 MB / 0.8285 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.6622, allocations: 97.56 kB / 0.8286 GB, free: 23.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6622, allocations: 2.75 kB / 0.8286 GB, free: 23.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6622, allocations: 3.547 kB / 0.8286 GB, free: 23.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6624, allocations: 18.34 kB / 0.8287 GB, free: 23.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.6624, allocations: 7.484 kB / 0.8287 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.6629, allocations: 66.92 kB / 0.8287 GB, free: 23.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/0.663, allocations: 61.31 kB / 0.8288 GB, free: 23.21 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.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.0002472/0.6632, allocations: 215.9 kB / 0.829 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.6633, allocations: 37.02 kB / 0.829 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.6633, allocations: 47.61 kB / 0.8291 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.6633, allocations: 1.375 kB / 0.8291 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6634, allocations: 0.5625 kB / 0.8291 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6634, allocations: 1.984 kB / 0.8291 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.6655, allocations: 0.7611 MB / 0.8298 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6655, allocations: 1.188 kB / 0.8298 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.6655, allocations: 12.17 kB / 0.8298 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6655, allocations: 5.125 kB / 0.8298 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.6656, allocations: 23.39 kB / 0.8299 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6656, allocations: 4.594 kB / 0.8299 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6656, allocations: 1.125 kB / 0.8299 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.6672, allocations: 478.9 kB / 0.8303 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.6676, allocations: 177.4 kB / 0.8305 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.6676, allocations: 21 kB / 0.8305 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.6681, allocations: 37.06 kB / 0.8305 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.6681, allocations: 7.438 kB / 0.8306 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.6682, allocations: 56.31 kB / 0.8306 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003676/0.6686, allocations: 319 kB / 0.8309 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6686, allocations: 4 kB / 0.8309 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005429/0.6691, allocations: 75.77 kB / 0.831 GB, free: 22.12 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.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.0001638/0.6693, allocations: 129.2 kB / 0.8311 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6706, allocations: 442.7 kB / 0.8315 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6706, allocations: 0 / 0.8315 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.6714, allocations: 114.1 kB / 0.8316 GB, free: 21.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.6718, allocations: 38.28 kB / 0.8317 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.6733, allocations: 0.601 MB / 0.8323 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.6735, allocations: 0.7938 MB / 0.833 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.634e-05/0.6736, allocations: 12.81 kB / 0.8331 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.6736, allocations: 20.48 kB / 0.8331 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.6736, allocations: 0 / 0.8331 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.01201/0.6856, allocations: 5.497 MB / 0.8384 GB, free: 19.82 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.083801401779056] Failed to read output from testmodel.py, exit status != 0: 0.694628931581974 0.706920851 0.055172304000000005 Calling exit ...