Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001297/0.001297, allocations: 69.48 kB / 20.5 MB, free: 1.281 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.001534/0.001534, allocations: 166.5 kB / 23.76 MB, free: 4.469 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.524/1.524, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.935/0.935, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: IBPSA 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.002129/0.002129, allocations: 67.89 kB / 0.5551 GB, free: 2.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1736, allocations: 89.14 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003171/0.1767, allocations: 1.704 MB / 0.6438 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1782, allocations: 0.617 MB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.1783, allocations: 0 / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1784, allocations: 7.875 kB / 0.6444 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1786, allocations: 35.78 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1794, allocations: 370.1 kB / 0.6448 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000669/0.1801, allocations: 0.597 MB / 0.6454 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1802, allocations: 25.23 kB / 0.6454 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.1807, allocations: 319.5 kB / 0.6457 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.181, allocations: 155.5 kB / 0.6458 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1811, allocations: 43.94 kB / 0.6459 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1812, allocations: 40 kB / 0.6459 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1813, allocations: 127.6 kB / 0.646 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.1816, allocations: 179.2 kB / 0.6462 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.1822, allocations: 0.5918 MB / 0.6468 GB, free: 4.719 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1822, allocations: 3.938 kB / 0.6468 GB, free: 4.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1822, allocations: 0 / 0.6468 GB, free: 4.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.1822, allocations: 0 / 0.6468 GB, free: 4.715 MB / 0.545 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.001431/0.1837, allocations: 0.8481 MB / 0.6476 GB, free: 3.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1837, allocations: 8.031 kB / 0.6476 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.1839, allocations: 56.66 kB / 0.6477 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.1843, allocations: 280.7 kB / 0.648 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.1844, allocations: 24.3 kB / 0.648 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.1845, allocations: 32.36 kB / 0.648 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.1856, allocations: 257.9 kB / 0.6483 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1856, allocations: 4.188 kB / 0.6483 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1856, allocations: 7.938 kB / 0.6483 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1856, allocations: 0 / 0.6483 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.1865, allocations: 131.8 kB / 0.6484 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1879, allocations: 0.5314 MB / 0.6489 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.189, allocations: 190.4 kB / 0.6491 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.1898, allocations: 124.8 kB / 0.6492 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1899, allocations: 0 / 0.6492 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.1909, allocations: 246 kB / 0.6494 GB, free: 1.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.1909, allocations: 0 / 0.6494 GB, free: 1.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002792/0.1937, allocations: 0.5363 MB / 0.65 GB, free: 1.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.1938, allocations: 63.34 kB / 0.65 GB, free: 1.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.1943, allocations: 445.9 kB / 0.6505 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.1944, allocations: 41.69 kB / 0.6505 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1945, allocations: 101.4 kB / 0.6506 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.1946, allocations: 43.66 kB / 0.6506 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.1948, allocations: 149.4 kB / 0.6508 GB, free: 448 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.195, allocations: 326.8 kB / 0.6511 GB, free: 112 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.1954, allocations: 219.3 kB / 0.6513 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.1958, allocations: 273.3 kB / 0.6516 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.1962, allocations: 295.6 kB / 0.6518 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1962, allocations: 4 kB / 0.6518 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0011/0.1973, allocations: 0.6016 MB / 0.6524 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.1974, allocations: 87.38 kB / 0.6525 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1974, allocations: 0 / 0.6525 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1974, allocations: 7.984 kB / 0.6525 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1976, allocations: 27.86 kB / 0.6526 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1976, allocations: 0 / 0.6526 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.1981, allocations: 72.03 kB / 0.6526 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.1982, allocations: 63.97 kB / 0.6527 GB, free: 14.36 MB / 0.5606 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.0002935/0.1985, allocations: 212.3 kB / 0.6529 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1986, allocations: 51.66 kB / 0.6529 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.1987, allocations: 39.72 kB / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1987, allocations: 0 / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1987, allocations: 4 kB / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1987, allocations: 0 / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.201, allocations: 0.7503 MB / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.201, allocations: 0 / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.201, allocations: 4 kB / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.201, allocations: 0 / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.2011, allocations: 27.97 kB / 0.6537 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2011, allocations: 4 kB / 0.6537 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2011, allocations: 4 kB / 0.6537 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2029, allocations: 0.5111 MB / 0.6542 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.2033, allocations: 173.5 kB / 0.6544 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.2033, allocations: 24 kB / 0.6544 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.2038, allocations: 35.97 kB / 0.6545 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2039, allocations: 15.91 kB / 0.6545 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.204, allocations: 55.98 kB / 0.6545 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003826/0.2043, allocations: 323.1 kB / 0.6548 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2043, allocations: 0 / 0.6548 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004073/0.2047, allocations: 67.94 kB / 0.6549 GB, free: 12.01 MB / 0.5606 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.0001712/0.2049, allocations: 127.2 kB / 0.655 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.2064, allocations: 0.5174 MB / 0.6555 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2064, allocations: 4 kB / 0.6555 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.2072, allocations: 134.6 kB / 0.6557 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2076, allocations: 49.73 kB / 0.6557 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.2092, allocations: 0.6131 MB / 0.6563 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2094, allocations: 175 kB / 0.6565 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.237e-05/0.2095, allocations: 17.48 kB / 0.6565 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.2095, allocations: 20.48 kB / 0.6565 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.2095, allocations: 0 / 0.6565 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.01125/0.2208, allocations: 6.54 MB / 0.6629 GB, free: 3.691 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.628887976985425] Failed to read output from testmodel.py, exit status != 0: 0.23001504596322775 0.24466706900000001 0.059356177 Calling exit ...