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.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.001615/0.001615, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001848/0.001848, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9113/0.9113, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.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/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: "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00203/0.00203, allocations: 69.81 kB / 0.6184 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1744, allocations: 85.91 MB / 0.7023 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002886/0.1772, allocations: 1.474 MB / 0.7038 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1783, allocations: 421.7 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1783, allocations: 0 / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-05/0.1784, allocations: 11.88 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1785, allocations: 16.23 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.1793, allocations: 250.8 kB / 0.7045 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.1796, allocations: 299.6 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1797, allocations: 4 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.18, allocations: 195.7 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.1802, allocations: 108.1 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.1803, allocations: 20 kB / 0.7051 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.1804, allocations: 16 kB / 0.7051 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1805, allocations: 83.72 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1806, allocations: 103.5 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.181, allocations: 283.2 kB / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.181, allocations: 0 / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/0.181, allocations: 0 / 0.7055 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.181, allocations: 3.984 kB / 0.7055 GB, free: 13.84 MB / 0.5294 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.001202/0.1822, allocations: 0.6323 MB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1822, allocations: 8.031 kB / 0.7061 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.1823, allocations: 42.73 kB / 0.7062 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.1824, allocations: 32.73 kB / 0.7062 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.1827, allocations: 206.6 kB / 0.7064 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.1828, allocations: 20.11 kB / 0.7064 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.1828, allocations: 20 kB / 0.7065 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1831, allocations: 141.5 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1831, allocations: 0 / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1832, allocations: 11.98 kB / 0.7066 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1832, allocations: 4 kB / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1833, allocations: 47.92 kB / 0.7066 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1837, allocations: 248.5 kB / 0.7069 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.184, allocations: 122.6 kB / 0.707 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1841, allocations: 48.83 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1841, allocations: 0 / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.1846, allocations: 215.6 kB / 0.7073 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.1846, allocations: 0 / 0.7073 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006472/0.1853, allocations: 277.2 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1854, allocations: 63.41 kB / 0.7076 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.1857, allocations: 288.2 kB / 0.7079 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.1858, allocations: 37.69 kB / 0.7079 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.1858, allocations: 93.14 kB / 0.708 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.1859, allocations: 51.62 kB / 0.708 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1861, allocations: 105.8 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1863, allocations: 326.8 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.1865, allocations: 155.6 kB / 0.7086 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1869, allocations: 213.8 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.1873, allocations: 243.6 kB / 0.709 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1873, allocations: 4 kB / 0.709 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008122/0.1881, allocations: 478.2 kB / 0.7095 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.1882, allocations: 75.38 kB / 0.7096 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1882, allocations: 4 kB / 0.7096 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1882, allocations: 4 kB / 0.7096 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1884, allocations: 23.92 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1884, allocations: 4 kB / 0.7096 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.1889, allocations: 64.03 kB / 0.7097 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.189, allocations: 55.97 kB / 0.7097 GB, free: 9.223 MB / 0.5294 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.0002802/0.1893, allocations: 173.7 kB / 0.7099 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1893, allocations: 27.8 kB / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.1894, allocations: 30.19 kB / 0.7099 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1894, allocations: 4 kB / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1894, allocations: 0 / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1894, allocations: 7.984 kB / 0.7099 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.1903, allocations: 0.5285 MB / 0.7105 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1903, allocations: 0 / 0.7105 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.1903, allocations: 4 kB / 0.7105 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1903, allocations: 4 kB / 0.7105 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1904, allocations: 11.98 kB / 0.7105 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1904, allocations: 3.984 kB / 0.7105 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1904, allocations: 0 / 0.7105 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.1908, allocations: 333.2 kB / 0.7108 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.191, allocations: 85.66 kB / 0.7109 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.1911, allocations: 15.92 kB / 0.7109 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1913, allocations: 15.98 kB / 0.7109 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1914, allocations: 15.98 kB / 0.7109 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.1914, allocations: 27.97 kB / 0.7109 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000214/0.1916, allocations: 207.1 kB / 0.7111 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 0 / 0.7111 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003298/0.1919, allocations: 55.98 kB / 0.7112 GB, free: 7.621 MB / 0.5294 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.0008702/0.1928, allocations: 0.8778 MB / 0.7121 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006711/0.1935, allocations: 380.2 kB / 0.7124 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.1935, allocations: 4 kB / 0.7124 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1936, allocations: 59.97 kB / 0.7125 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.194, allocations: 20.97 kB / 0.7125 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.1976, allocations: 2.676 MB / 0.7151 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.1978, allocations: 136 kB / 0.7152 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.1979, allocations: 37.44 kB / 0.7153 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1981, allocations: 47.41 kB / 0.7153 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.1981, allocations: 0 / 0.7153 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.2333, allocations: 6.477 MB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.66, allocations: 8.719 kB / 0.7217 GB, free: 12.82 MB / 0.545 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.89674080396071] Failed to read output from testmodel.py, exit status != 0: 11.761016421020031 11.779861286 11.59540091 Calling exit ...