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.000872/0.000872, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009718/0.0009718, allocations: 211.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9777/0.9777, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.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.827/0.827, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: 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.0008848/0.0008848, allocations: 69.61 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5978, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002207/0.6, allocations: 1.529 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.6011, allocations: 0.5342 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.6011, allocations: 0 / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.652e-05/0.6012, allocations: 9.891 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.6013, allocations: 21.72 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.602, allocations: 320 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.6024, allocations: 489.4 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.6025, allocations: 5.594 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.6028, allocations: 277.7 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.603, allocations: 133.5 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.6031, allocations: 26.12 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.6031, allocations: 33.03 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.6032, allocations: 120.9 kB / 0.8212 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.6034, allocations: 154.2 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.6038, allocations: 428.5 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6038, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6038, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.6038, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 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.0008482/0.6046, allocations: 0.7944 MB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6047, allocations: 10.31 kB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.6047, allocations: 39.36 kB / 0.8225 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.6048, allocations: 59.48 kB / 0.8226 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.605, allocations: 251.8 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.6051, allocations: 17.7 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.6051, allocations: 33.64 kB / 0.8229 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.6057, allocations: 211.8 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6057, allocations: 7.922 kB / 0.8231 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.6057, allocations: 2.703 kB / 0.8231 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.6057, allocations: 1.281 kB / 0.8231 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.6061, allocations: 104.3 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.6064, allocations: 307.3 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.6069, allocations: 164 kB / 0.8236 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.6073, allocations: 111.6 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6073, allocations: 2.109 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.6079, allocations: 220.8 kB / 0.824 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.6079, allocations: 4 kB / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001371/0.6093, allocations: 495.6 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6093, allocations: 58.84 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.6097, allocations: 411.6 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.6097, allocations: 41.45 kB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.6098, allocations: 94.66 kB / 0.825 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.6098, allocations: 44.94 kB / 0.8251 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.61, allocations: 123.8 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6102, allocations: 325.3 kB / 0.8255 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.6104, allocations: 189.2 kB / 0.8257 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.6106, allocations: 244.5 kB / 0.8259 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.6109, allocations: 277.9 kB / 0.8262 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6109, allocations: 1.562 kB / 0.8262 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006388/0.6115, allocations: 0.5478 MB / 0.8267 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.6116, allocations: 85.16 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6116, allocations: 5.219 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6116, allocations: 3.812 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.6117, allocations: 22.92 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6117, allocations: 3.219 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.612, allocations: 62.95 kB / 0.8269 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.6121, allocations: 62.12 kB / 0.8269 GB, free: 11.67 MB / 0.6198 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.0001991/0.6123, allocations: 198.7 kB / 0.8271 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.6123, allocations: 40.94 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.6124, allocations: 43.03 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6124, allocations: 1.375 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6124, allocations: 0.7969 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6124, allocations: 1.766 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.6137, allocations: 0.706 MB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6137, allocations: 1.25 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.6137, allocations: 4.203 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6137, allocations: 1.984 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.6138, allocations: 25.56 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6138, allocations: 1.766 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6138, allocations: 1.125 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.6149, allocations: 483.9 kB / 0.8284 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.6152, allocations: 137.7 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.6152, allocations: 10.34 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.6155, allocations: 32.78 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.6155, allocations: 7.969 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6156, allocations: 64.47 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003136/0.6159, allocations: 298 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6159, allocations: 1 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002943/0.6162, allocations: 64.16 kB / 0.829 GB, free: 10.69 MB / 0.6198 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.001267/0.6175, allocations: 1.025 MB / 0.83 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008905/0.6184, allocations: 473.3 kB / 0.8304 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6184, allocations: 1.094 kB / 0.8304 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.6188, allocations: 117.4 kB / 0.8305 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.619, allocations: 26.67 kB / 0.8306 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.6224, allocations: 3.098 MB / 0.8336 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.6225, allocations: 165.7 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.6226, allocations: 15.77 kB / 0.8338 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.6227, allocations: 25.58 kB / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.6227, allocations: 0 / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.6519, allocations: 7.96 MB / 0.8416 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.29, allocations: 6.625 kB / 0.8416 GB, free: 3.922 MB / 0.6198 GB " [Timeout remaining time 652] (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: 11.448826720006764] Failed to read output from testmodel.py, exit status != 0: 8.37066748039797 8.389462843 7.782362742 Calling exit ...