Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.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.001499/0.001499, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00167/0.00167, allocations: 220 kB / 23 MB, free: 4.914 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002476/0.002476, allocations: 295.4 kB / 313.5 MB, free: 2.641 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5377 GB, free: 14.67 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002887/0.002887, allocations: 110.1 kB / 0.7407 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1609, allocations: 95.37 MB / 0.8338 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002746/0.1637, allocations: 1.527 MB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1649, allocations: 0.5282 MB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1649, allocations: 4 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.173e-05/0.165, allocations: 15.8 kB / 0.8359 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1651, allocations: 23.86 kB / 0.8359 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007651/0.1659, allocations: 319.5 kB / 0.8362 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.1664, allocations: 479.5 kB / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1664, allocations: 4 kB / 0.8366 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.1668, allocations: 283.6 kB / 0.8369 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.1671, allocations: 134.1 kB / 0.837 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1672, allocations: 24 kB / 0.8371 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.1673, allocations: 28 kB / 0.8371 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1674, allocations: 115.7 kB / 0.8372 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1676, allocations: 159.2 kB / 0.8374 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.168, allocations: 430.4 kB / 0.8378 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.168, allocations: 0 / 0.8378 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.168, allocations: 0 / 0.8378 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.168, allocations: 0 / 0.8378 GB, free: 3.867 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.001181/0.1692, allocations: 0.8066 MB / 0.8386 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1693, allocations: 13.34 kB / 0.8386 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1694, allocations: 48.7 kB / 0.8386 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1698, allocations: 256.7 kB / 0.8389 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.1699, allocations: 20.36 kB / 0.8389 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.1699, allocations: 24.36 kB / 0.8389 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.1708, allocations: 214 kB / 0.8391 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1708, allocations: 8.172 kB / 0.8391 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.1709, allocations: 11.92 kB / 0.8391 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1709, allocations: 0 / 0.8391 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.1715, allocations: 99.86 kB / 0.8392 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1719, allocations: 277.1 kB / 0.8395 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.1729, allocations: 166.5 kB / 0.8396 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006907/0.1736, allocations: 104.8 kB / 0.8397 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1736, allocations: 0 / 0.8397 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.1745, allocations: 225 kB / 0.84 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1745, allocations: 0 / 0.84 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002314/0.1768, allocations: 499.2 kB / 0.8404 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.1768, allocations: 67.27 kB / 0.8405 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.1773, allocations: 409.9 kB / 0.8409 GB, free: 500 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.1773, allocations: 41.69 kB / 0.8409 GB, free: 452 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1774, allocations: 97.44 kB / 0.841 GB, free: 352 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.1775, allocations: 39.69 kB / 0.8411 GB, free: 312 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.1777, allocations: 129.5 kB / 0.8412 GB, free: 176 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1778, allocations: 318.8 kB / 0.8415 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.1781, allocations: 195.3 kB / 0.8417 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.1785, allocations: 249.8 kB / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.1789, allocations: 271.8 kB / 0.8422 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1789, allocations: 4 kB / 0.8422 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008844/0.1798, allocations: 0.5508 MB / 0.8427 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.1798, allocations: 83.38 kB / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1798, allocations: 4 kB / 0.8428 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1799, allocations: 3.938 kB / 0.8428 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.18, allocations: 23.97 kB / 0.8428 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.18, allocations: 7.938 kB / 0.8428 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.1805, allocations: 63.97 kB / 0.8429 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.1806, allocations: 55.98 kB / 0.8429 GB, free: 14.24 MB / 0.5919 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.0002508/0.1808, allocations: 194.4 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1809, allocations: 39.75 kB / 0.8432 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.181, allocations: 39.62 kB / 0.8432 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.181, allocations: 4 kB / 0.8432 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.181, allocations: 3.938 kB / 0.8432 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.181, allocations: 0 / 0.8432 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.1831, allocations: 0.6777 MB / 0.8439 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1831, allocations: 3.938 kB / 0.8439 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1831, allocations: 7.938 kB / 0.8439 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1831, allocations: 4 kB / 0.8439 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.1832, allocations: 23.97 kB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1832, allocations: 0 / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1832, allocations: 4 kB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.1848, allocations: 483.5 kB / 0.8444 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.1851, allocations: 129.5 kB / 0.8445 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.1852, allocations: 15.98 kB / 0.8445 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.1857, allocations: 31.97 kB / 0.8445 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1857, allocations: 7.984 kB / 0.8445 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.1858, allocations: 67.97 kB / 0.8446 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003142/0.1861, allocations: 291.1 kB / 0.8449 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 0 / 0.8449 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003563/0.1864, allocations: 64 kB / 0.845 GB, free: 12.11 MB / 0.5919 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.0001533/0.1866, allocations: 116.9 kB / 0.8451 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.1879, allocations: 484.9 kB / 0.8455 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1879, allocations: 0 / 0.8455 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.1886, allocations: 115.8 kB / 0.8456 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1889, allocations: 31.45 kB / 0.8457 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1903, allocations: 0.6056 MB / 0.8463 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.1905, allocations: 162.9 kB / 0.8464 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.1906, allocations: 15.44 kB / 0.8464 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1906, allocations: 0 / 0.8464 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.005893/0.1964, allocations: 3.755 MB / 0.8501 GB, free: 6.707 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.149289058055729] Failed to read output from testmodel.py, exit status != 0: 0.20372374262660742 0.21874888699999995 0.047845842 Calling exit ...