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.0008453/0.0008453, 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.0008854/0.0008854, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.801 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.8131/0.8131, allocations: 203.8 MB / 0.5042 GB, free: 10.25 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.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: 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.001057/0.001057, allocations: 64.77 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.589, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002101/0.5911, allocations: 1.546 MB / 0.8193 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.5922, allocations: 0.5542 MB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.5923, allocations: 3.844 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.5924, allocations: 6.328 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.5925, allocations: 33.11 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.5932, allocations: 314.5 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.594, allocations: 487.6 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.5941, allocations: 8.219 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.5944, allocations: 286.4 kB / 0.821 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.5947, allocations: 143.8 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.5947, allocations: 26.78 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.5948, allocations: 26.19 kB / 0.8212 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.5949, allocations: 118.1 kB / 0.8213 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.5951, allocations: 185.5 kB / 0.8214 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.5955, allocations: 421.2 kB / 0.8218 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5955, allocations: 6 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5955, allocations: 0 / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5955, allocations: 4 kB / 0.8219 GB, free: 14.96 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.0009802/0.5965, allocations: 0.8027 MB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5966, allocations: 9.406 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.5966, allocations: 40.56 kB / 0.8227 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/0.5967, allocations: 51.59 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.597, allocations: 254.9 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.5971, allocations: 17.33 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.5971, allocations: 29.92 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.5977, allocations: 216.3 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5977, allocations: 3.938 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.5978, allocations: 2.812 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5978, allocations: 1.5 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.5981, allocations: 95.53 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.5986, allocations: 375 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.5991, allocations: 160.3 kB / 0.8238 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.5995, allocations: 107.9 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.5995, allocations: 3.281 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.6001, allocations: 225.5 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/0.6001, allocations: 0 / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001377/0.6015, allocations: 491 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.6015, allocations: 61.16 kB / 0.8247 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.6019, allocations: 411.3 kB / 0.8251 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.602, allocations: 39.94 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.602, allocations: 90.81 kB / 0.8252 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.6021, allocations: 45.91 kB / 0.8252 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.6022, allocations: 127.4 kB / 0.8254 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.6023, allocations: 321.6 kB / 0.8257 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.6025, allocations: 120.2 kB / 0.8258 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.6027, allocations: 169.7 kB / 0.826 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.603, allocations: 284.9 kB / 0.8262 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.603, allocations: 3.938 kB / 0.8262 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000654/0.6037, allocations: 490.4 kB / 0.8267 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.6038, allocations: 92.58 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6038, allocations: 5.656 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6038, allocations: 2.75 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.6039, allocations: 23.05 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.604, allocations: 4.172 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.6043, allocations: 62.36 kB / 0.8269 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.6043, allocations: 58.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.0002619/0.6046, allocations: 206.8 kB / 0.8271 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.6047, allocations: 41.67 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.6047, allocations: 37.25 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6047, allocations: 2.688 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.6047, allocations: 0 / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6048, allocations: 1.172 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.6062, allocations: 0.7227 MB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6062, allocations: 1.156 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.6063, allocations: 4.953 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6063, allocations: 1.156 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.6063, allocations: 22.75 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6063, allocations: 1.156 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6063, allocations: 0.7031 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.6073, allocations: 479 kB / 0.8284 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.6076, allocations: 132.3 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6077, allocations: 18.84 kB / 0.8285 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6079, allocations: 28.58 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.608, allocations: 8.312 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6081, allocations: 59.56 kB / 0.8286 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004088/0.6085, allocations: 294.2 kB / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6085, allocations: 0.5312 kB / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003883/0.6089, allocations: 64.97 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.001334/0.6102, allocations: 1.023 MB / 0.83 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008969/0.6111, allocations: 408 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6111, allocations: 1.156 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.6115, allocations: 108.9 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.0002835/0.6118, allocations: 30.56 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.003548/0.6153, allocations: 2.799 MB / 0.8332 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.616, allocations: 0.7746 MB / 0.834 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.784e-05/0.6161, allocations: 15.33 kB / 0.834 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.6162, allocations: 21.94 kB / 0.834 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.6162, allocations: 0 / 0.834 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.6407, allocations: 6.315 MB / 0.8402 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.82, allocations: 11.67 kB / 0.8402 GB, free: 4.988 MB / 0.6198 GB " [Timeout remaining time 652] (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.951328088063747] Failed to read output from testmodel.py, exit status != 0: 7.89828918594867 7.909375973 7.311769961 Calling exit ...