Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.001097/0.001097, 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.001119/0.001119, allocations: 170.3 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.9712/0.9712, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7578/0.7578, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.489e-05, allocations: 5.094 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002041/0.002066, allocations: 1.511 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.00304, allocations: 0.5358 MB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.003111, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.003214, allocations: 15.81 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.003337, allocations: 27.62 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.004087, allocations: 326.7 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.004483, allocations: 487.4 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.004525, allocations: 4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.004873, allocations: 355.6 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.005083, allocations: 127.7 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.005131, allocations: 24 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.005178, allocations: 28 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.005283, allocations: 123.6 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.005389, allocations: 127.7 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.00574, allocations: 466.7 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005743, allocations: 0 / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.005745, allocations: 4 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.005751, allocations: 0 / 0.622 GB, free: 9.633 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.0009586/0.006709, allocations: 0.795 MB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.006748, allocations: 9.469 kB / 0.6228 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.006785, allocations: 42.73 kB / 0.6228 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.006867, allocations: 52.7 kB / 0.6229 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.007142, allocations: 259.9 kB / 0.6231 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.007181, allocations: 24.3 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.007228, allocations: 28.36 kB / 0.6232 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.007792, allocations: 229.5 kB / 0.6234 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.0078, allocations: 192 / 0.6234 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.007821, allocations: 12.36 kB / 0.6234 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007829, allocations: 4.125 kB / 0.6234 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.008198, allocations: 115.9 kB / 0.6235 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.008496, allocations: 300.5 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.009008, allocations: 178.4 kB / 0.624 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.009365, allocations: 124.8 kB / 0.6241 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.009386, allocations: 0 / 0.6241 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.009885, allocations: 231.2 kB / 0.6243 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.009886, allocations: 0 / 0.6243 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001286/0.01117, allocations: 0.5312 MB / 0.6249 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.01121, allocations: 63.34 kB / 0.6249 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.01148, allocations: 409.9 kB / 0.6253 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.01151, allocations: 41.7 kB / 0.6253 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.01157, allocations: 101.4 kB / 0.6254 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.0116, allocations: 51.59 kB / 0.6255 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01172, allocations: 125.5 kB / 0.6256 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.0118, allocations: 322.8 kB / 0.6259 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.01201, allocations: 187.3 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.01222, allocations: 249.3 kB / 0.6263 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.01247, allocations: 275.3 kB / 0.6266 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01247, allocations: 0 / 0.6266 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005466/0.01302, allocations: 0.5568 MB / 0.6271 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.01308, allocations: 83.36 kB / 0.6272 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01309, allocations: 4 kB / 0.6272 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.0131, allocations: 3.938 kB / 0.6272 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01321, allocations: 24.11 kB / 0.6273 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.01322, allocations: 12 kB / 0.6273 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.01346, allocations: 63.84 kB / 0.6273 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.01352, allocations: 59.98 kB / 0.6274 GB, free: 3.801 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.0001469/0.01367, allocations: 196.7 kB / 0.6276 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.0137, allocations: 39.7 kB / 0.6276 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.01374, allocations: 47.67 kB / 0.6277 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01375, allocations: 7.938 kB / 0.6277 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01375, allocations: 0 / 0.6277 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01376, allocations: 3.984 kB / 0.6277 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.01492, allocations: 0.7279 MB / 0.6284 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01492, allocations: 7.938 kB / 0.6284 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.01494, allocations: 7.984 kB / 0.6284 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01495, allocations: 0 / 0.6284 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.01497, allocations: 27.97 kB / 0.6284 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01497, allocations: 0 / 0.6284 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01497, allocations: 0 / 0.6284 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.01582, allocations: 0.4995 MB / 0.6289 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.01599, allocations: 137.5 kB / 0.629 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.01603, allocations: 8 kB / 0.629 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.01626, allocations: 43.95 kB / 0.6291 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.01628, allocations: 7.984 kB / 0.6291 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.01633, allocations: 59.97 kB / 0.6292 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001919/0.01652, allocations: 295.1 kB / 0.6294 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.01652, allocations: 0 / 0.6294 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002775/0.0168, allocations: 68 kB / 0.6295 GB, free: 1.559 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.001134/0.01793, allocations: 1.057 MB / 0.6305 GB, free: 492 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.01865, allocations: 489.9 kB / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01865, allocations: 0 / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.01901, allocations: 135.8 kB / 0.6311 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01927, allocations: 29.95 kB / 0.6312 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.0222, allocations: 3.124 MB / 0.6342 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.02233, allocations: 163 kB / 0.6344 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.647e-05/0.02237, allocations: 17.14 kB / 0.6344 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.02243, allocations: 28.48 kB / 0.6344 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.02243, allocations: 0 / 0.6344 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.04534, allocations: 7.905 MB / 0.6421 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.09, allocations: 10.56 kB / 0.6421 GB, free: 4.461 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.058084283024073] Failed to read output from testmodel.py, exit status != 0: 7.175218978896737 7.183050262 7.175386774 Calling exit ...