Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001798/0.001798, 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.002498/0.002498, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.518/1.518, 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.8765/0.8765, allocations: 134 MB / 447.2 MB, free: 10.22 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.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.002043/0.002043, allocations: 59.62 kB / 0.6193 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1636, allocations: 85.91 MB / 0.7032 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002847/0.1664, allocations: 1.514 MB / 0.7047 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1674, allocations: 425.7 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1675, allocations: 3.938 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1676, allocations: 11.86 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1677, allocations: 20.23 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.1684, allocations: 239 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1688, allocations: 303.5 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1689, allocations: 11.98 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1692, allocations: 191.7 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1694, allocations: 118.3 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.1695, allocations: 20 kB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.1695, allocations: 20 kB / 0.706 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1696, allocations: 75.78 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1698, allocations: 123.4 kB / 0.7062 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1701, allocations: 291.1 kB / 0.7064 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1701, allocations: 0 / 0.7064 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1701, allocations: 4 kB / 0.7064 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1701, allocations: 0 / 0.7064 GB, free: 14.08 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.001325/0.1715, allocations: 0.6284 MB / 0.707 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1715, allocations: 8.031 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.1715, allocations: 4.188 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1716, allocations: 42.67 kB / 0.7071 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.1717, allocations: 32.8 kB / 0.7071 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.172, allocations: 206.7 kB / 0.7073 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.172, allocations: 15.92 kB / 0.7073 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.1721, allocations: 16 kB / 0.7074 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1724, allocations: 153.5 kB / 0.7075 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1724, allocations: 3.984 kB / 0.7075 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1724, allocations: 7.984 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1724, allocations: 0 / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1726, allocations: 39.98 kB / 0.7076 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1729, allocations: 288.4 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1732, allocations: 126.6 kB / 0.708 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1734, allocations: 48.83 kB / 0.708 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1734, allocations: 4 kB / 0.708 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.1739, allocations: 211.6 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.1739, allocations: 0 / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006294/0.1745, allocations: 275.4 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1745, allocations: 63.41 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.1749, allocations: 288.2 kB / 0.7088 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.1749, allocations: 41.69 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.175, allocations: 89.14 kB / 0.7089 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.1751, allocations: 51.62 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1753, allocations: 105.8 kB / 0.7091 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1754, allocations: 330.8 kB / 0.7094 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1756, allocations: 84.19 kB / 0.7095 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.1759, allocations: 150.4 kB / 0.7096 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.1762, allocations: 237.2 kB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1762, allocations: 4 kB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007439/0.177, allocations: 409.6 kB / 0.7102 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.177, allocations: 75.39 kB / 0.7103 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1771, allocations: 4 kB / 0.7103 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1771, allocations: 7.938 kB / 0.7103 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1773, allocations: 27.91 kB / 0.7103 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1773, allocations: 4 kB / 0.7104 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.1778, allocations: 60.03 kB / 0.7104 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.1779, allocations: 59.92 kB / 0.7105 GB, free: 9.656 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0002084/0.1781, allocations: 164.4 kB / 0.7106 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1781, allocations: 27.8 kB / 0.7106 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.1782, allocations: 34.12 kB / 0.7107 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1782, allocations: 4 kB / 0.7107 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1782, allocations: 0 / 0.7107 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1782, allocations: 8 kB / 0.7107 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.1791, allocations: 0.5285 MB / 0.7112 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1791, allocations: 0 / 0.7112 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.1791, allocations: 19.92 kB / 0.7112 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1791, allocations: 0 / 0.7112 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1791, allocations: 11.97 kB / 0.7112 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1791, allocations: 4 kB / 0.7112 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1791, allocations: 0 / 0.7112 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.1796, allocations: 337.1 kB / 0.7116 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1798, allocations: 81.66 kB / 0.7116 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.1798, allocations: 11.94 kB / 0.7117 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1801, allocations: 11.98 kB / 0.7117 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1801, allocations: 19.97 kB / 0.7117 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.1802, allocations: 27.98 kB / 0.7117 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000208/0.1804, allocations: 215 kB / 0.7119 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1804, allocations: 0 / 0.7119 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003487/0.1807, allocations: 51.94 kB / 0.712 GB, free: 8.047 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.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.0008714/0.1816, allocations: 0.8624 MB / 0.7128 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.1822, allocations: 316.6 kB / 0.7131 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1822, allocations: 0 / 0.7131 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1824, allocations: 71.88 kB / 0.7132 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1827, allocations: 26.17 kB / 0.7132 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.186, allocations: 2.409 MB / 0.7156 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1864, allocations: 0.7473 MB / 0.7163 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.1865, allocations: 37.44 kB / 0.7163 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1866, allocations: 43.41 kB / 0.7164 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.1866, allocations: 0 / 0.7164 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.2147, allocations: 5.536 MB / 0.7218 GB, free: 13.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.74, allocations: 8 kB / 0.7218 GB, free: 13.96 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.571546368999407] Failed to read output from testmodel.py, exit status != 0: 11.900247300975025 11.92348087 11.748580215 Calling exit ...