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.001243/0.001243, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001532/0.001532, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.002638/0.002638, allocations: 291 kB / 313.5 MB, free: 2.836 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.172/1.172, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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.002852/0.002852, allocations: 101.7 kB / 0.7408 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1621, allocations: 95.39 MB / 0.8339 GB, free: 8.219 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002835/0.1649, allocations: 1.557 MB / 0.8354 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1662, allocations: 0.5515 MB / 0.836 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.1663, allocations: 0 / 0.836 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 8.765e-05/0.1664, allocations: 7.938 kB / 0.836 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.1665, allocations: 27.78 kB / 0.836 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.1673, allocations: 317 kB / 0.8363 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.1679, allocations: 483.5 kB / 0.8368 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.168, allocations: 4 kB / 0.8368 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.1684, allocations: 283.6 kB / 0.8371 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1688, allocations: 151.7 kB / 0.8372 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.1689, allocations: 24 kB / 0.8372 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.169, allocations: 28 kB / 0.8373 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1691, allocations: 115.6 kB / 0.8374 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1693, allocations: 187 kB / 0.8375 GB, free: 4.5 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1697, allocations: 426.4 kB / 0.8379 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1697, allocations: 0 / 0.8379 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1697, allocations: 0 / 0.8379 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.1697, allocations: 0 / 0.8379 GB, free: 4.082 MB / 0.5763 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.001286/0.171, allocations: 0.8035 MB / 0.8387 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1711, allocations: 17.28 kB / 0.8387 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1712, allocations: 48.7 kB / 0.8388 GB, free: 3.145 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.1716, allocations: 264.6 kB / 0.839 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.1717, allocations: 16.38 kB / 0.8391 GB, free: 2.844 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.1717, allocations: 28.36 kB / 0.8391 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.1726, allocations: 214.7 kB / 0.8393 GB, free: 2.602 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1726, allocations: 192 / 0.8393 GB, free: 2.602 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1726, allocations: 11.92 kB / 0.8393 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1726, allocations: 0 / 0.8393 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.1733, allocations: 103.9 kB / 0.8394 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1737, allocations: 360.4 kB / 0.8397 GB, free: 2.094 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/0.1746, allocations: 166.4 kB / 0.8399 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.1753, allocations: 104.8 kB / 0.84 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1753, allocations: 4 kB / 0.84 GB, free: 1.812 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000837/0.1761, allocations: 215.2 kB / 0.8402 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1761, allocations: 0 / 0.8402 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of matching and sorting (n=16): time 0.002217/0.1783, allocations: 499.7 kB / 0.8407 GB, free: 1.098 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1784, allocations: 63.34 kB / 0.8408 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1788, allocations: 413.9 kB / 0.8411 GB, free: 0.6094 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.1788, allocations: 37.7 kB / 0.8412 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.1789, allocations: 97.44 kB / 0.8413 GB, free: 480 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.179, allocations: 39.67 kB / 0.8413 GB, free: 440 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1792, allocations: 129.5 kB / 0.8414 GB, free: 304 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1793, allocations: 322.8 kB / 0.8417 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.1796, allocations: 115.9 kB / 0.8419 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.1798, allocations: 175.2 kB / 0.842 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1802, allocations: 280 kB / 0.8423 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1802, allocations: 0 / 0.8423 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007876/0.181, allocations: 488.7 kB / 0.8428 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.1811, allocations: 93.66 kB / 0.8428 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1811, allocations: 0 / 0.8428 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1811, allocations: 8.188 kB / 0.8429 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1813, allocations: 27.91 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1813, allocations: 4 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.1817, allocations: 63.78 kB / 0.8429 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.1818, allocations: 55.98 kB / 0.843 GB, free: 14.61 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.0002186/0.182, allocations: 198.4 kB / 0.8432 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.1821, allocations: 47.7 kB / 0.8432 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.1821, allocations: 35.69 kB / 0.8433 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1821, allocations: 0 / 0.8433 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1821, allocations: 0 / 0.8433 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1822, allocations: 3.984 kB / 0.8433 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.1842, allocations: 0.7238 MB / 0.844 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1842, allocations: 0 / 0.844 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1842, allocations: 4 kB / 0.844 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1842, allocations: 0 / 0.844 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.1843, allocations: 23.97 kB / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1843, allocations: 0 / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1843, allocations: 4 kB / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.1858, allocations: 482.2 kB / 0.8445 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.1861, allocations: 133.5 kB / 0.8446 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.1862, allocations: 15.98 kB / 0.8446 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.1866, allocations: 27.97 kB / 0.8446 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1866, allocations: 11.98 kB / 0.8446 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.1867, allocations: 59.97 kB / 0.8447 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003187/0.187, allocations: 295.1 kB / 0.845 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.187, allocations: 0 / 0.845 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000339/0.1874, allocations: 63.98 kB / 0.845 GB, free: 12.43 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.00014/0.1875, allocations: 116.9 kB / 0.8452 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.1887, allocations: 410.5 kB / 0.8456 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1887, allocations: 0 / 0.8456 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.1893, allocations: 115.8 kB / 0.8457 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1897, allocations: 27.58 kB / 0.8457 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.191, allocations: 0.5998 MB / 0.8463 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1914, allocations: 0.7708 MB / 0.847 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.1915, allocations: 15.44 kB / 0.847 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1915, allocations: 0 / 0.847 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.006366/0.1979, allocations: 3.736 MB / 0.8507 GB, free: 6.52 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.097831078106537] Failed to read output from testmodel.py, exit status != 0: 0.2051799858454615 0.219970987 0.047320897 Calling exit ...