Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001121/0.001121, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001298/0.001298, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9094/0.9094, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.732/0.732, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.618 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.426e-05, allocations: 3.594 kB / 0.618 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001956/0.00198, allocations: 1.517 MB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.002902, allocations: 0.5374 MB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.002961, allocations: 3.938 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.747e-05/0.003048, allocations: 3.938 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003148, allocations: 35.62 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.003812, allocations: 318.6 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.00416, allocations: 483.4 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.004199, allocations: 11.98 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.004508, allocations: 363.5 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.004701, allocations: 127.7 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.004746, allocations: 28 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.004793, allocations: 28 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.004882, allocations: 111.7 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.00498, allocations: 135.7 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.005283, allocations: 462.7 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005285, allocations: 0 / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005286, allocations: 4 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.005291, allocations: 0 / 0.622 GB, free: 9.535 MB / 0.5886 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.0008814/0.006172, allocations: 0.7912 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.006209, allocations: 13.45 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.006244, allocations: 38.75 kB / 0.6229 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.006318, allocations: 48.7 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.00658, allocations: 259.9 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.006619, allocations: 24.36 kB / 0.6232 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.006665, allocations: 32.36 kB / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.007163, allocations: 226 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.00717, allocations: 4.125 kB / 0.6234 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.007186, allocations: 384 / 0.6234 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.007194, allocations: 8.125 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.007545, allocations: 115.9 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.007807, allocations: 304.5 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.008291, allocations: 182.4 kB / 0.624 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.008626, allocations: 120.8 kB / 0.6241 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.008648, allocations: 4 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.009106, allocations: 231.2 kB / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.009107, allocations: 0 / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001222/0.01033, allocations: 0.5322 MB / 0.6249 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.01037, allocations: 63.33 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.01063, allocations: 409.9 kB / 0.6253 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.01067, allocations: 41.69 kB / 0.6254 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.01072, allocations: 105.4 kB / 0.6255 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.01075, allocations: 31.73 kB / 0.6255 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.011, allocations: 125.5 kB / 0.6256 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.01107, allocations: 322.8 kB / 0.6259 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.01127, allocations: 199.3 kB / 0.6261 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.01147, allocations: 240.8 kB / 0.6263 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.01172, allocations: 287.2 kB / 0.6266 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01172, allocations: 0 / 0.6266 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005201/0.01224, allocations: 0.5568 MB / 0.6272 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.01229, allocations: 81.56 kB / 0.6272 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0123, allocations: 0 / 0.6272 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01231, allocations: 7.938 kB / 0.6272 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.01241, allocations: 27.92 kB / 0.6273 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01241, allocations: 3.984 kB / 0.6273 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.01265, allocations: 68.03 kB / 0.6273 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.0127, allocations: 59.98 kB / 0.6274 GB, free: 3.707 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.000152/0.01285, allocations: 200.7 kB / 0.6276 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.01289, allocations: 39.75 kB / 0.6276 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.01293, allocations: 35.69 kB / 0.6277 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01293, allocations: 7.938 kB / 0.6277 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01294, allocations: 4 kB / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01294, allocations: 0 / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.01408, allocations: 0.742 MB / 0.6284 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.01408, allocations: 3.938 kB / 0.6284 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.0141, allocations: 8 kB / 0.6284 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0141, allocations: 0 / 0.6284 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.01412, allocations: 19.97 kB / 0.6284 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01412, allocations: 0 / 0.6284 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01413, allocations: 4 kB / 0.6284 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.01496, allocations: 0.5072 MB / 0.6289 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.01513, allocations: 141.5 kB / 0.6291 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.01517, allocations: 8 kB / 0.6291 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.01538, allocations: 31.97 kB / 0.6291 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.01541, allocations: 11.98 kB / 0.6291 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.01545, allocations: 59.97 kB / 0.6292 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001852/0.01564, allocations: 295.1 kB / 0.6294 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01564, allocations: 0 / 0.6294 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002328/0.01587, allocations: 67.98 kB / 0.6295 GB, free: 1.465 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001062/0.01693, allocations: 1.059 MB / 0.6305 GB, free: 392 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007648/0.0177, allocations: 493.9 kB / 0.631 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.0177, allocations: 0 / 0.631 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.01808, allocations: 127.8 kB / 0.6311 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01833, allocations: 26.02 kB / 0.6312 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.02102, allocations: 3.129 MB / 0.6342 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.02114, allocations: 159 kB / 0.6344 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.02118, allocations: 17.14 kB / 0.6344 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.02123, allocations: 24.5 kB / 0.6344 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.02123, allocations: 0 / 0.6344 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.03947, allocations: 7.926 MB / 0.6421 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.159, allocations: 9.75 kB / 0.6422 GB, free: 4.355 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.017992762848735] Failed to read output from testmodel.py, exit status != 0: 7.242402424104512 7.253040181 7.245852749 Calling exit ...