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.0008112/0.0008112, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001182/0.001182, allocations: 222.3 kB / 22.26 MB, free: 3.703 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.9509/0.9509, allocations: 230.6 MB / 256 MB, free: 9.781 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.8167/0.8167, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.00097/0.00097, allocations: 67.45 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5462, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002005/0.5483, allocations: 1.549 MB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.5494, allocations: 0.5473 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.5495, allocations: 0 / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.5496, allocations: 16.33 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.5497, allocations: 25.33 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.5504, allocations: 315.2 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.5509, allocations: 484.8 kB / 0.8207 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.5509, allocations: 10.27 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.5512, allocations: 281.1 kB / 0.821 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.5515, allocations: 147.6 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.5515, allocations: 26.09 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.5516, allocations: 28.03 kB / 0.8212 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.5517, allocations: 127.1 kB / 0.8213 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5518, allocations: 179.7 kB / 0.8215 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.5525, allocations: 424.3 kB / 0.8219 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5525, allocations: 1.125 kB / 0.8219 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5525, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.5525, allocations: 3.938 kB / 0.8219 GB, free: 14.97 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.0008377/0.5533, allocations: 0.801 MB / 0.8226 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5534, allocations: 9.75 kB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.5534, allocations: 39.62 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.5535, allocations: 56.88 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.5538, allocations: 254.7 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.5538, allocations: 17.45 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.5539, allocations: 30.11 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.5544, allocations: 214.6 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5544, allocations: 9.344 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.5544, allocations: 1.547 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5544, allocations: 5.531 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.5548, allocations: 100.5 kB / 0.8233 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.5552, allocations: 363 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.5557, allocations: 169.2 kB / 0.8239 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.5561, allocations: 98.47 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.5561, allocations: 3.484 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.5566, allocations: 226.9 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.5566, allocations: 0 / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001302/0.5579, allocations: 494.9 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.5579, allocations: 57.88 kB / 0.8247 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.5583, allocations: 408.8 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.5583, allocations: 40.64 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.5584, allocations: 99.31 kB / 0.8252 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.5584, allocations: 37.09 kB / 0.8253 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5585, allocations: 128.4 kB / 0.8254 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.5586, allocations: 324.9 kB / 0.8257 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.5588, allocations: 116.6 kB / 0.8258 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.559, allocations: 177.3 kB / 0.826 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.5593, allocations: 276.8 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5593, allocations: 0 / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005652/0.5598, allocations: 496.5 kB / 0.8267 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.5599, allocations: 91.33 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5599, allocations: 3.5 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5599, allocations: 2.688 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.56, allocations: 24.23 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.56, allocations: 2.344 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.5603, allocations: 67.53 kB / 0.8269 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.5603, allocations: 61.03 kB / 0.8269 GB, free: 12 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.0001581/0.5605, allocations: 195.1 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.5605, allocations: 41.19 kB / 0.8272 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.5606, allocations: 41.61 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5606, allocations: 1.969 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5606, allocations: 5.281 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5606, allocations: 1.359 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5618, allocations: 0.7074 MB / 0.8279 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5618, allocations: 7.922 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.5619, allocations: 12.48 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5619, allocations: 1.25 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.5619, allocations: 23.45 kB / 0.828 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5619, allocations: 1.125 kB / 0.828 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5619, allocations: 4 kB / 0.828 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.5628, allocations: 475 kB / 0.8284 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.563, allocations: 136.7 kB / 0.8285 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.5631, allocations: 10.66 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5633, allocations: 31.72 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5634, allocations: 11.42 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.5635, allocations: 60.77 kB / 0.8287 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003012/0.5638, allocations: 294 kB / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5638, allocations: 0 / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002885/0.5641, allocations: 65.06 kB / 0.829 GB, free: 11.02 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.001126/0.5652, allocations: 1.02 MB / 0.83 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.5659, allocations: 413.8 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5659, allocations: 0 / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5663, allocations: 108.7 kB / 0.8305 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5665, allocations: 29.78 kB / 0.8305 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.5695, allocations: 2.8 MB / 0.8333 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.5702, allocations: 0.7752 MB / 0.834 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.5702, allocations: 10.27 kB / 0.834 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.5703, allocations: 29.8 kB / 0.834 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5703, allocations: 1.25 kB / 0.834 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.592, allocations: 6.312 MB / 0.8402 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.671, allocations: 9.703 kB / 0.8402 GB, free: 4.984 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: 10.777818019967526] Failed to read output from testmodel.py, exit status != 0: 7.746631735004485 7.756913368 7.202423353 Calling exit ...