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.001544/0.001544, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001727/0.001727, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.801 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.325/1.325, allocations: 203.8 MB / 0.5041 GB, free: 4.629 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.002179/0.002179, allocations: 63.89 kB / 0.7187 GB, free: 1.957 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6383/0.6405, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003387/0.6439, allocations: 1.728 MB / 0.82 GB, free: 27.75 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.6453, allocations: 0.6099 MB / 0.8206 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.6454, allocations: 0.5312 kB / 0.8206 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.6456, allocations: 12.88 kB / 0.8206 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.6457, allocations: 31.97 kB / 0.8206 GB, free: 27.32 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.6466, allocations: 367.2 kB / 0.821 GB, free: 27.11 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.000839/0.6475, allocations: 0.6019 MB / 0.8216 GB, free: 26.83 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.6476, allocations: 20.25 kB / 0.8216 GB, free: 26.82 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.6481, allocations: 321.7 kB / 0.8219 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.6484, allocations: 147.2 kB / 0.822 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.6485, allocations: 41.12 kB / 0.8221 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.6487, allocations: 41.53 kB / 0.8221 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.6488, allocations: 127.7 kB / 0.8222 GB, free: 26.61 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.649, allocations: 179.2 kB / 0.8224 GB, free: 26.51 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.6497, allocations: 0.6003 MB / 0.823 GB, free: 26.3 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6498, allocations: 0.7031 kB / 0.823 GB, free: 26.3 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6498, allocations: 0 / 0.823 GB, free: 26.3 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6498, allocations: 0.7188 kB / 0.823 GB, free: 26.3 MB / 0.6388 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.001371/0.6511, allocations: 0.8414 MB / 0.8238 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.6512, allocations: 11.55 kB / 0.8238 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.6513, allocations: 56.36 kB / 0.8239 GB, free: 25.59 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.6518, allocations: 272.9 kB / 0.8241 GB, free: 25.37 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.6519, allocations: 23.7 kB / 0.8242 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.652, allocations: 31.11 kB / 0.8242 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6531, allocations: 230.9 kB / 0.8244 GB, free: 25.3 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6531, allocations: 4.125 kB / 0.8244 GB, free: 25.29 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.6531, allocations: 12.39 kB / 0.8244 GB, free: 25.29 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6531, allocations: 7.5 kB / 0.8244 GB, free: 25.28 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.654, allocations: 114 kB / 0.8245 GB, free: 25.26 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.6553, allocations: 0.534 MB / 0.8251 GB, free: 24.93 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.6565, allocations: 184 kB / 0.8252 GB, free: 24.87 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.6573, allocations: 109 kB / 0.8253 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.6573, allocations: 6 kB / 0.8254 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.6584, allocations: 232.3 kB / 0.8256 GB, free: 24.76 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.6584, allocations: 0 / 0.8256 GB, free: 24.76 MB / 0.6388 GB Notification: Performance of matching and sorting (n=16): time 0.002904/0.6613, allocations: 0.492 MB / 0.8261 GB, free: 24.64 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.6614, allocations: 65.5 kB / 0.8261 GB, free: 24.57 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.662, allocations: 442 kB / 0.8265 GB, free: 24.36 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.6621, allocations: 43.86 kB / 0.8266 GB, free: 24.32 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.6621, allocations: 101.8 kB / 0.8267 GB, free: 24.23 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.6622, allocations: 44.91 kB / 0.8267 GB, free: 24.19 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.6624, allocations: 134 kB / 0.8268 GB, free: 24.13 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.6625, allocations: 333 kB / 0.8272 GB, free: 23.81 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6629, allocations: 217.5 kB / 0.8274 GB, free: 23.69 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.6633, allocations: 270.4 kB / 0.8276 GB, free: 23.5 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.6637, allocations: 291.7 kB / 0.8279 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6637, allocations: 4 kB / 0.8279 GB, free: 23.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008964/0.6646, allocations: 0.5915 MB / 0.8285 GB, free: 22.98 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.6647, allocations: 87.8 kB / 0.8286 GB, free: 22.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.6647, allocations: 3.359 kB / 0.8286 GB, free: 22.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6647, allocations: 2.75 kB / 0.8286 GB, free: 22.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.6649, allocations: 26.98 kB / 0.8286 GB, free: 22.89 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6649, allocations: 3.453 kB / 0.8286 GB, free: 22.89 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.6654, allocations: 67.06 kB / 0.8287 GB, free: 22.87 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.6655, allocations: 57.17 kB / 0.8287 GB, free: 22.87 MB / 0.6388 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.0002489/0.6658, allocations: 219.5 kB / 0.8289 GB, free: 22.71 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.6658, allocations: 38.95 kB / 0.829 GB, free: 22.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.6659, allocations: 41.73 kB / 0.829 GB, free: 22.67 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6659, allocations: 3.5 kB / 0.829 GB, free: 22.67 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6659, allocations: 0 / 0.829 GB, free: 22.67 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6659, allocations: 4.562 kB / 0.829 GB, free: 22.67 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.6683, allocations: 0.7204 MB / 0.8297 GB, free: 22.31 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6683, allocations: 1.094 kB / 0.8297 GB, free: 22.31 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.6684, allocations: 4.641 kB / 0.8297 GB, free: 22.31 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6684, allocations: 1.188 kB / 0.8297 GB, free: 22.31 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.6684, allocations: 22.44 kB / 0.8298 GB, free: 22.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6684, allocations: 4.984 kB / 0.8298 GB, free: 22.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6684, allocations: 0.7969 kB / 0.8298 GB, free: 22.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.6703, allocations: 497.3 kB / 0.8302 GB, free: 22.09 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.6707, allocations: 189 kB / 0.8304 GB, free: 21.99 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.6708, allocations: 17.27 kB / 0.8304 GB, free: 21.98 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.6713, allocations: 32.42 kB / 0.8305 GB, free: 21.98 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.6714, allocations: 12.03 kB / 0.8305 GB, free: 21.98 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.6714, allocations: 55.66 kB / 0.8305 GB, free: 21.98 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0003491/0.6718, allocations: 324.5 kB / 0.8308 GB, free: 21.83 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.6718, allocations: 0 / 0.8308 GB, free: 21.83 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0004509/0.6722, allocations: 75.11 kB / 0.8309 GB, free: 21.82 MB / 0.6388 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.0001656/0.6724, allocations: 125.7 kB / 0.831 GB, free: 21.71 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.6739, allocations: 0.5036 MB / 0.8315 GB, free: 21.41 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6739, allocations: 0 / 0.8315 GB, free: 21.41 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.6748, allocations: 120 kB / 0.8316 GB, free: 21.39 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.6752, allocations: 33.94 kB / 0.8317 GB, free: 21.38 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.6769, allocations: 0.5937 MB / 0.8322 GB, free: 21.04 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.6771, allocations: 188 kB / 0.8324 GB, free: 20.95 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.6771, allocations: 16.33 kB / 0.8324 GB, free: 20.94 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.6772, allocations: 16.84 kB / 0.8325 GB, free: 20.93 MB / 0.6388 GB Notification: Performance of SimCode: time 6.21e-07/0.6772, allocations: 3.938 kB / 0.8325 GB, free: 20.93 MB / 0.6388 GB Notification: Performance of Templates: time 0.0125/0.6897, allocations: 6.583 MB / 0.8389 GB, free: 19.66 MB / 0.6388 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.046604169532657] Failed to read output from testmodel.py, exit status != 0: 0.6987765654921532 0.7119664649999999 0.059276783000000006 Calling exit ...