Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8418/0.8418, allocations: 133.9 MB / 439 MB, free: 0.6484 MB / 334.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.02 kB / 0.6087 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1731, allocations: 84.67 MB / 0.6914 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002634/0.1757, allocations: 1.471 MB / 0.6928 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.1767, allocations: 442.1 kB / 0.6933 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.1767, allocations: 0 / 0.6933 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1769, allocations: 11.86 kB / 0.6933 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.177, allocations: 16.25 kB / 0.6933 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.1777, allocations: 251.2 kB / 0.6935 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.178, allocations: 299.5 kB / 0.6938 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1781, allocations: 4 kB / 0.6938 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.1784, allocations: 195.6 kB / 0.694 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1786, allocations: 112.1 kB / 0.6941 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.1787, allocations: 20 kB / 0.6941 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.1787, allocations: 16 kB / 0.6941 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1788, allocations: 83.72 kB / 0.6942 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.179, allocations: 119.4 kB / 0.6943 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1793, allocations: 279 kB / 0.6946 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1793, allocations: 3.984 kB / 0.6946 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1793, allocations: 0 / 0.6946 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1793, allocations: 0 / 0.6946 GB, free: 6.531 MB / 0.5137 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.001253/0.1806, allocations: 0.7075 MB / 0.6953 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1806, allocations: 12.03 kB / 0.6953 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.1807, allocations: 36.8 kB / 0.6953 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1811, allocations: 275.7 kB / 0.6956 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.1811, allocations: 12.31 kB / 0.6956 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.1812, allocations: 23.92 kB / 0.6956 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1815, allocations: 148.4 kB / 0.6958 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1815, allocations: 0 / 0.6958 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1815, allocations: 4 kB / 0.6958 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1816, allocations: 0 / 0.6958 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1817, allocations: 51.97 kB / 0.6958 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1821, allocations: 305.4 kB / 0.6961 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1824, allocations: 118.6 kB / 0.6962 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1825, allocations: 48.83 kB / 0.6963 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1825, allocations: 4 kB / 0.6963 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.183, allocations: 219.6 kB / 0.6965 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 7.985e-06/0.183, allocations: 3.984 kB / 0.6965 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006152/0.1836, allocations: 265.3 kB / 0.6967 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1837, allocations: 71.38 kB / 0.6968 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.184, allocations: 290.9 kB / 0.6971 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.184, allocations: 37.7 kB / 0.6971 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.1841, allocations: 97.06 kB / 0.6972 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.1842, allocations: 47.62 kB / 0.6973 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1844, allocations: 105.8 kB / 0.6974 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1845, allocations: 322.8 kB / 0.6977 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1847, allocations: 92.17 kB / 0.6978 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.185, allocations: 150.4 kB / 0.6979 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1854, allocations: 237.3 kB / 0.6981 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1854, allocations: 0 / 0.6981 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007301/0.1861, allocations: 418.7 kB / 0.6985 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.1862, allocations: 78.2 kB / 0.6986 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1862, allocations: 4 kB / 0.6986 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1862, allocations: 4 kB / 0.6986 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1864, allocations: 28.09 kB / 0.6986 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1864, allocations: 4 kB / 0.6986 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1869, allocations: 59.84 kB / 0.6987 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.187, allocations: 55.98 kB / 0.6988 GB, free: 1.934 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001971/0.1872, allocations: 169.7 kB / 0.6989 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.1872, allocations: 35.73 kB / 0.699 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.1873, allocations: 34.25 kB / 0.699 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1873, allocations: 0 / 0.699 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1873, allocations: 0 / 0.699 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1873, allocations: 0 / 0.699 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.1882, allocations: 0.5646 MB / 0.6995 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1882, allocations: 0 / 0.6995 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.1882, allocations: 15.92 kB / 0.6996 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1882, allocations: 0 / 0.6996 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.1883, allocations: 11.98 kB / 0.6996 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1883, allocations: 4 kB / 0.6996 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1883, allocations: 4 kB / 0.6996 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1887, allocations: 327 kB / 0.6999 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1889, allocations: 156.8 kB / 0.7 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.189, allocations: 15.98 kB / 0.7 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1892, allocations: 11.98 kB / 0.7001 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.1892, allocations: 15.98 kB / 0.7001 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.1893, allocations: 27.98 kB / 0.7001 GB, free: 468 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001997/0.1895, allocations: 209.9 kB / 0.7003 GB, free: 256 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1895, allocations: 0 / 0.7003 GB, free: 256 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003225/0.1898, allocations: 48 kB / 0.7003 GB, free: 208 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001379/0.1899, allocations: 118.2 kB / 0.7005 GB, free: 80 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.1905, allocations: 316.6 kB / 0.7008 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1905, allocations: 0 / 0.7008 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.1907, allocations: 64.28 kB / 0.7008 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.191, allocations: 27.27 kB / 0.7008 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.1918, allocations: 420.8 kB / 0.7013 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1922, allocations: 0.7474 MB / 0.702 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1923, allocations: 39.41 kB / 0.702 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1923, allocations: 0 / 0.702 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.005567/0.1979, allocations: 3.023 MB / 0.705 GB, free: 11.4 MB / 0.5294 GB [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480]