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.001621/0.001621, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002042/0.002042, allocations: 223.4 kB / 23.03 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8862/0.8862, allocations: 134 MB / 447.2 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.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.001959/0.001959, allocations: 60.28 kB / 0.6192 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1728, allocations: 85.92 MB / 0.7031 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003139/0.176, allocations: 1.482 MB / 0.7046 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1769, allocations: 407.4 kB / 0.705 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.177, allocations: 0 / 0.705 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.374e-05/0.1771, allocations: 11.86 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1772, allocations: 20.23 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.1779, allocations: 247 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.1783, allocations: 307.5 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.1784, allocations: 8 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.1787, allocations: 195.7 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.179, allocations: 112.9 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.1791, allocations: 20 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.1791, allocations: 16 kB / 0.7059 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1793, allocations: 87.7 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.1794, allocations: 103.5 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.1798, allocations: 283.2 kB / 0.7063 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1798, allocations: 0 / 0.7063 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1798, allocations: 4 kB / 0.7063 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1798, allocations: 0 / 0.7063 GB, free: 13.82 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.00125/0.181, allocations: 0.6323 MB / 0.7069 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1811, allocations: 8.031 kB / 0.7069 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.1811, allocations: 12.19 kB / 0.7069 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.1811, allocations: 30.75 kB / 0.707 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1812, allocations: 36.78 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1815, allocations: 206.6 kB / 0.7072 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.1816, allocations: 11.94 kB / 0.7072 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.649e-05/0.1816, allocations: 27.98 kB / 0.7072 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1819, allocations: 149.5 kB / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.182, allocations: 3.938 kB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.182, allocations: 4 kB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.182, allocations: 3.984 kB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1821, allocations: 47.97 kB / 0.7074 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1825, allocations: 244.5 kB / 0.7077 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1828, allocations: 114.7 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1829, allocations: 48.83 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1829, allocations: 8 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.1834, allocations: 215.6 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.1834, allocations: 0 / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006206/0.184, allocations: 279.4 kB / 0.7083 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1841, allocations: 59.39 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1844, allocations: 292.2 kB / 0.7087 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.1844, allocations: 37.7 kB / 0.7087 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.1845, allocations: 93.12 kB / 0.7088 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1846, allocations: 47.64 kB / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1847, allocations: 109.8 kB / 0.7089 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1849, allocations: 326.7 kB / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1852, allocations: 159.6 kB / 0.7094 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1855, allocations: 209.8 kB / 0.7096 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1858, allocations: 246.8 kB / 0.7098 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1858, allocations: 0 / 0.7098 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007978/0.1866, allocations: 476.8 kB / 0.7103 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.1867, allocations: 71.39 kB / 0.7103 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1867, allocations: 0 / 0.7103 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1867, allocations: 8.188 kB / 0.7104 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1869, allocations: 31.91 kB / 0.7104 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1869, allocations: 4 kB / 0.7104 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.1874, allocations: 59.84 kB / 0.7104 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.1875, allocations: 47.98 kB / 0.7105 GB, free: 9.207 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.0001922/0.1877, allocations: 168.4 kB / 0.7107 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1877, allocations: 31.8 kB / 0.7107 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.1878, allocations: 34.19 kB / 0.7107 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1878, allocations: 4 kB / 0.7107 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1878, allocations: 0 / 0.7107 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1878, allocations: 0 / 0.7107 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/0.1886, allocations: 0.5246 MB / 0.7112 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1886, allocations: 0 / 0.7112 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.1887, allocations: 11.98 kB / 0.7112 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1887, allocations: 3.938 kB / 0.7112 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.1887, allocations: 15.98 kB / 0.7113 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1887, allocations: 7.938 kB / 0.7113 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1887, allocations: 0 / 0.7113 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.1892, allocations: 341.4 kB / 0.7116 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1894, allocations: 85.64 kB / 0.7117 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.1894, allocations: 8 kB / 0.7117 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1897, allocations: 11.98 kB / 0.7117 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1897, allocations: 15.97 kB / 0.7117 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.1898, allocations: 31.98 kB / 0.7117 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002074/0.19, allocations: 211 kB / 0.7119 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 0 / 0.7119 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003347/0.1903, allocations: 51.94 kB / 0.712 GB, free: 7.598 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.000832/0.1911, allocations: 0.8706 MB / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006176/0.1918, allocations: 380.3 kB / 0.7132 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1918, allocations: 4 kB / 0.7132 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1919, allocations: 63.91 kB / 0.7133 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1922, allocations: 20.97 kB / 0.7133 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.1956, allocations: 2.677 MB / 0.7159 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1958, allocations: 135.2 kB / 0.716 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.1959, allocations: 37.42 kB / 0.7161 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.196, allocations: 51.41 kB / 0.7161 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.196, allocations: 0 / 0.7161 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2245, allocations: 6.074 MB / 0.722 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.78, allocations: 10.31 kB / 0.7221 GB, free: 13.2 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.534556064987555] Failed to read output from testmodel.py, exit status != 0: 11.949057920021005 11.97325584 11.790096019 Calling exit ...