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.001395/0.001395, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001431/0.001431, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.8706/0.8706, allocations: 134 MB / 447.2 MB, free: 10.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="cs",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.001928/0.001928, allocations: 68.91 kB / 0.6193 GB, free: 7.281 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 85.9 MB / 0.7032 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002832/0.1694, allocations: 1.514 MB / 0.7046 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.1704, allocations: 420 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.1704, allocations: 8 kB / 0.7051 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.233e-05/0.1705, allocations: 7.922 kB / 0.7051 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.1706, allocations: 24.22 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.1713, allocations: 249.2 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.1717, allocations: 299.6 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1717, allocations: 4 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.172, allocations: 191.7 kB / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.1723, allocations: 124 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.1723, allocations: 20 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.1724, allocations: 16 kB / 0.706 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1725, allocations: 79.78 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1726, allocations: 123.3 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.173, allocations: 287.2 kB / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.173, allocations: 4 kB / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.173, allocations: 0 / 0.7064 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.173, allocations: 0 / 0.7064 GB, free: 14.12 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.001205/0.1742, allocations: 0.6285 MB / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1742, allocations: 8.031 kB / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.243e-05/0.1742, allocations: 192 / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.1743, allocations: 42.73 kB / 0.7071 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.1744, allocations: 32.8 kB / 0.7071 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1747, allocations: 218.5 kB / 0.7073 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1747, allocations: 7.938 kB / 0.7073 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.1748, allocations: 20 kB / 0.7074 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1751, allocations: 149.5 kB / 0.7075 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1751, allocations: 0 / 0.7075 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1752, allocations: 3.984 kB / 0.7075 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1752, allocations: 4 kB / 0.7075 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1753, allocations: 47.97 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1757, allocations: 280.4 kB / 0.7078 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.176, allocations: 122.6 kB / 0.7079 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1761, allocations: 48.83 kB / 0.708 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1762, allocations: 0 / 0.708 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.1766, allocations: 219.6 kB / 0.7082 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.1766, allocations: 3.938 kB / 0.7082 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.000632/0.1773, allocations: 269.3 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1773, allocations: 59.41 kB / 0.7085 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1776, allocations: 292.2 kB / 0.7088 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.1777, allocations: 37.7 kB / 0.7088 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.1778, allocations: 89.14 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.1778, allocations: 51.62 kB / 0.709 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.178, allocations: 105.8 kB / 0.7091 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1782, allocations: 330.8 kB / 0.7094 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1784, allocations: 96.11 kB / 0.7095 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1787, allocations: 142.4 kB / 0.7096 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1791, allocations: 238.8 kB / 0.7098 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1791, allocations: 0 / 0.7098 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007181/0.1798, allocations: 424.5 kB / 0.7102 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.1798, allocations: 79.38 kB / 0.7103 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1799, allocations: 4 kB / 0.7103 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1799, allocations: 0 / 0.7103 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.18, allocations: 23.92 kB / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.18, allocations: 7.938 kB / 0.7103 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.1805, allocations: 71.94 kB / 0.7104 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.699e-05/0.1806, allocations: 59.97 kB / 0.7105 GB, free: 9.68 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.0001892/0.1808, allocations: 165.8 kB / 0.7106 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1809, allocations: 27.8 kB / 0.7106 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.1809, allocations: 26.19 kB / 0.7107 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1809, allocations: 4 kB / 0.7107 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1809, allocations: 0 / 0.7107 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1809, allocations: 3.984 kB / 0.7107 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.1818, allocations: 0.5363 MB / 0.7112 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1818, allocations: 0 / 0.7112 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.1819, allocations: 4 kB / 0.7112 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.1819, allocations: 4 kB / 0.7112 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.1819, allocations: 11.98 kB / 0.7112 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1819, allocations: 0 / 0.7112 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1819, allocations: 7.984 kB / 0.7112 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.1824, allocations: 321.5 kB / 0.7115 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1826, allocations: 93.64 kB / 0.7116 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.1826, allocations: 11.98 kB / 0.7116 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.1829, allocations: 11.98 kB / 0.7117 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.1829, allocations: 15.92 kB / 0.7117 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.183, allocations: 31.97 kB / 0.7117 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001946/0.1832, allocations: 211 kB / 0.7119 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1832, allocations: 0 / 0.7119 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003209/0.1835, allocations: 55.92 kB / 0.712 GB, free: 8.086 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.0007978/0.1843, allocations: 0.8662 MB / 0.7128 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.1848, allocations: 308.8 kB / 0.7131 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1848, allocations: 0 / 0.7131 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.185, allocations: 63.91 kB / 0.7132 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1853, allocations: 27.59 kB / 0.7132 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1886, allocations: 2.418 MB / 0.7155 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1889, allocations: 0.7531 MB / 0.7163 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.1891, allocations: 37.41 kB / 0.7163 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1892, allocations: 47.36 kB / 0.7164 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.1892, allocations: 0 / 0.7164 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.2165, allocations: 5.568 MB / 0.7218 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.7, allocations: 7 kB / 0.7218 GB, free: 13.96 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 os._exit(0), Time elapsed: 15.380340651026927] Failed to read output from testmodel.py, exit status != 0: 11.859929263941012 11.875831576 11.699784872 Calling exit ...