Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.099/1.099, allocations: 175.7 MB / 479.1 MB, free: 3.438 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 70.89 kB / 0.6663 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 94.54 MB / 0.7586 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002729/0.1722, allocations: 1.514 MB / 0.7601 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1736, allocations: 0.5402 MB / 0.7606 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.1736, allocations: 0 / 0.7606 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.981e-05/0.1737, allocations: 7.875 kB / 0.7607 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.1738, allocations: 39.5 kB / 0.7607 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.1746, allocations: 313.8 kB / 0.761 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.1751, allocations: 483.5 kB / 0.7614 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.1752, allocations: 7.938 kB / 0.7615 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.1755, allocations: 279.6 kB / 0.7617 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1758, allocations: 147.6 kB / 0.7619 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.1759, allocations: 28 kB / 0.7619 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.176, allocations: 24 kB / 0.7619 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1762, allocations: 119.7 kB / 0.762 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1764, allocations: 187 kB / 0.7622 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.1769, allocations: 422.4 kB / 0.7626 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1769, allocations: 0 / 0.7626 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1769, allocations: 0 / 0.7626 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1769, allocations: 0 / 0.7626 GB, free: 13.06 MB / 0.5762 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.001314/0.1782, allocations: 0.8742 MB / 0.7635 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1782, allocations: 12.03 kB / 0.7635 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1784, allocations: 48.7 kB / 0.7635 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1788, allocations: 322.5 kB / 0.7638 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.1788, allocations: 24.34 kB / 0.7639 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.1789, allocations: 20.38 kB / 0.7639 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1799, allocations: 213 kB / 0.7641 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1799, allocations: 192 / 0.7641 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.18, allocations: 11.94 kB / 0.7641 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.18, allocations: 0 / 0.7641 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.1808, allocations: 99.92 kB / 0.7642 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1813, allocations: 389.2 kB / 0.7646 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.1824, allocations: 174.4 kB / 0.7647 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.1832, allocations: 100.8 kB / 0.7648 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1832, allocations: 0 / 0.7648 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009973/0.1842, allocations: 228.7 kB / 0.765 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1842, allocations: 0 / 0.765 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002724/0.1869, allocations: 491.1 kB / 0.7655 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.187, allocations: 63.39 kB / 0.7656 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.1874, allocations: 409.9 kB / 0.766 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.1875, allocations: 41.69 kB / 0.766 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.1876, allocations: 97.44 kB / 0.7661 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1876, allocations: 35.7 kB / 0.7661 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.1878, allocations: 137.5 kB / 0.7663 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.188, allocations: 318.8 kB / 0.7666 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1882, allocations: 123.9 kB / 0.7667 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.1886, allocations: 173.9 kB / 0.7668 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.189, allocations: 278.5 kB / 0.7671 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.189, allocations: 0 / 0.7671 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008777/0.1899, allocations: 494.8 kB / 0.7676 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.19, allocations: 99.25 kB / 0.7677 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.19, allocations: 0 / 0.7677 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.19, allocations: 4 kB / 0.7677 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1901, allocations: 23.92 kB / 0.7677 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1902, allocations: 4 kB / 0.7677 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.1906, allocations: 60.03 kB / 0.7678 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.1907, allocations: 63.97 kB / 0.7678 GB, free: 7.383 MB / 0.5762 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002401/0.191, allocations: 189.7 kB / 0.768 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.191, allocations: 43.66 kB / 0.768 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.1911, allocations: 47.73 kB / 0.7681 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1911, allocations: 0 / 0.7681 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1911, allocations: 0 / 0.7681 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1911, allocations: 0 / 0.7681 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.1935, allocations: 0.7521 MB / 0.7688 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1935, allocations: 0 / 0.7688 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1935, allocations: 7.984 kB / 0.7688 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1935, allocations: 0 / 0.7688 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.1936, allocations: 15.98 kB / 0.7688 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1936, allocations: 4 kB / 0.7688 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1936, allocations: 0 / 0.7688 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.1955, allocations: 484.6 kB / 0.7693 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.1957, allocations: 204.7 kB / 0.7695 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.1958, allocations: 11.98 kB / 0.7695 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.1963, allocations: 31.97 kB / 0.7695 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1963, allocations: 7.984 kB / 0.7696 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-05/0.1964, allocations: 59.97 kB / 0.7696 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003232/0.1968, allocations: 295.1 kB / 0.7699 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1968, allocations: 0 / 0.7699 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000364/0.1971, allocations: 72 kB / 0.77 GB, free: 5.086 MB / 0.5762 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001567/0.1973, allocations: 112.9 kB / 0.7701 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.1986, allocations: 406.5 kB / 0.7705 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1986, allocations: 4.375 kB / 0.7705 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008244/0.1994, allocations: 113.4 kB / 0.7706 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1998, allocations: 29.48 kB / 0.7706 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2014, allocations: 0.5956 MB / 0.7712 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.2018, allocations: 0.7669 MB / 0.7719 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.2019, allocations: 23.42 kB / 0.772 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.2019, allocations: 0 / 0.772 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.006339/0.2082, allocations: 3.721 MB / 0.7756 GB, free: 15.18 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.125368623062968] Failed to read output from testmodel.py, exit status != 0: 0.21536837797611952 0.22872946700000002 0.049106988000000004 Calling exit ...