Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001796/0.001796, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001976/0.001976, allocations: 220.5 kB / 22.26 MB, free: 5.121 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.973 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.318/1.318, allocations: 203.8 MB / 0.5041 GB, free: 4.887 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [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.002186/0.002186, allocations: 74.23 kB / 0.7188 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6618, allocations: 102 MB / 0.8184 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003445/0.6652, allocations: 1.754 MB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.6667, allocations: 0.6292 MB / 0.8207 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.6667, allocations: 0.875 kB / 0.8207 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.6668, allocations: 15.73 kB / 0.8207 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.667, allocations: 35.47 kB / 0.8208 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.6679, allocations: 362.5 kB / 0.8211 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000678/0.6685, allocations: 0.5972 MB / 0.8217 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.6686, allocations: 28.03 kB / 0.8217 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.6692, allocations: 318.7 kB / 0.822 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.6695, allocations: 167.2 kB / 0.8222 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.941e-05/0.6696, allocations: 40.44 kB / 0.8222 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.6697, allocations: 41 kB / 0.8222 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.6698, allocations: 124.1 kB / 0.8224 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.67, allocations: 218.3 kB / 0.8226 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.6707, allocations: 0.5982 MB / 0.8232 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6707, allocations: 4.812 kB / 0.8232 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6707, allocations: 0 / 0.8232 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.6707, allocations: 2.188 kB / 0.8232 GB, free: 26.42 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.001197/0.6719, allocations: 0.8417 MB / 0.824 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.672, allocations: 16.28 kB / 0.824 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6721, allocations: 60.12 kB / 0.8241 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.6725, allocations: 275.9 kB / 0.8243 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.6725, allocations: 19.38 kB / 0.8243 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.6726, allocations: 32.23 kB / 0.8244 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.6736, allocations: 238.4 kB / 0.8246 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6736, allocations: 4.172 kB / 0.8246 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6736, allocations: 6.672 kB / 0.8246 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6736, allocations: 1.438 kB / 0.8246 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.6743, allocations: 122.5 kB / 0.8247 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.6757, allocations: 0.6445 MB / 0.8254 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.6767, allocations: 175.6 kB / 0.8255 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.6774, allocations: 106.1 kB / 0.8256 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.6774, allocations: 1.609 kB / 0.8256 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009369/0.6784, allocations: 235.3 kB / 0.8259 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/0.6784, allocations: 1.25 kB / 0.8259 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.002489/0.6808, allocations: 496.9 kB / 0.8263 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.6809, allocations: 66.69 kB / 0.8264 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.6814, allocations: 448.2 kB / 0.8268 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.6815, allocations: 40.28 kB / 0.8269 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.6816, allocations: 102.4 kB / 0.827 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.6816, allocations: 47.59 kB / 0.827 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.6819, allocations: 134.8 kB / 0.8271 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.6819, allocations: 329.3 kB / 0.8274 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.6822, allocations: 134.2 kB / 0.8276 GB, free: 23.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.6825, allocations: 193.3 kB / 0.8278 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.6829, allocations: 298.5 kB / 0.828 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6829, allocations: 1.125 kB / 0.828 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008177/0.6837, allocations: 0.5175 MB / 0.8285 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.6838, allocations: 93.39 kB / 0.8286 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6838, allocations: 2.078 kB / 0.8286 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.6838, allocations: 2.75 kB / 0.8286 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.684, allocations: 27.98 kB / 0.8287 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.684, allocations: 7.578 kB / 0.8287 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.6845, allocations: 63.39 kB / 0.8287 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.6846, allocations: 60.98 kB / 0.8288 GB, free: 23.16 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.0003/0.6849, allocations: 223.8 kB / 0.829 GB, free: 23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.6849, allocations: 40.86 kB / 0.829 GB, free: 22.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.685, allocations: 45.92 kB / 0.8291 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.685, allocations: 3.359 kB / 0.8291 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.685, allocations: 0 / 0.8291 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.685, allocations: 1.219 kB / 0.8291 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.6872, allocations: 0.7658 MB / 0.8298 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6872, allocations: 0.6562 kB / 0.8298 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.6872, allocations: 5.109 kB / 0.8298 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6872, allocations: 1.188 kB / 0.8298 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.6873, allocations: 23.41 kB / 0.8299 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6873, allocations: 3.938 kB / 0.8299 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6873, allocations: 1.344 kB / 0.8299 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.6889, allocations: 487 kB / 0.8303 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.6893, allocations: 180.5 kB / 0.8305 GB, free: 22.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.6894, allocations: 16.48 kB / 0.8305 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.6898, allocations: 37.2 kB / 0.8306 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.6899, allocations: 10.97 kB / 0.8306 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.69, allocations: 60.66 kB / 0.8306 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003638/0.6903, allocations: 316.1 kB / 0.8309 GB, free: 22.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6903, allocations: 0 / 0.8309 GB, free: 22.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004558/0.6908, allocations: 74.41 kB / 0.831 GB, free: 22.06 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.0001604/0.6909, allocations: 125.5 kB / 0.8311 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.6922, allocations: 443.6 kB / 0.8315 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6922, allocations: 0 / 0.8315 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.6929, allocations: 114 kB / 0.8317 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.6933, allocations: 42.05 kB / 0.8317 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.6947, allocations: 0.5969 MB / 0.8323 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.695, allocations: 0.7908 MB / 0.833 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.6951, allocations: 20.47 kB / 0.8331 GB, free: 20.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.6951, allocations: 16.33 kB / 0.8331 GB, free: 20.63 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6951, allocations: 0 / 0.8331 GB, free: 20.63 MB / 0.6387 GB Notification: Performance of Templates: time 0.0109/0.706, allocations: 5.504 MB / 0.8385 GB, free: 19.77 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.047638924792409] Failed to read output from testmodel.py, exit status != 0: 0.7148743830621243 0.7257460210000001 0.052434057000000006 Calling exit ...