Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0008905/0.0008905, 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.0009225/0.0009225, 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.9668/0.9668, allocations: 230.6 MB / 256 MB, free: 9.809 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.7867/0.7867, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.0009699/0.0009699, allocations: 66.81 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5686/0.5696, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00205/0.5716, allocations: 1.549 MB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.5727, allocations: 0.5513 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.5728, allocations: 0 / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.5729, allocations: 9.75 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.573, allocations: 24.98 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.5737, allocations: 315.5 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.5742, allocations: 489 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.5743, allocations: 8.031 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.5746, allocations: 277 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.5748, allocations: 148.3 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.5749, allocations: 24.78 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.5749, allocations: 29.91 kB / 0.8212 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5751, allocations: 120.8 kB / 0.8213 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5752, allocations: 181.7 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.5756, allocations: 428.7 kB / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5756, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5756, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5756, allocations: 0 / 0.8219 GB, free: 14.98 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.0009537/0.5766, allocations: 0.8113 MB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5766, allocations: 8.562 kB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.5766, allocations: 44.92 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.5767, allocations: 49.33 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.577, allocations: 255.3 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.5771, allocations: 18.11 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.5771, allocations: 25.53 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.5777, allocations: 212.2 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5777, allocations: 3.938 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5777, allocations: 9.5 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5777, allocations: 2.875 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.5781, allocations: 99.33 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.5784, allocations: 363.2 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.579, allocations: 168.2 kB / 0.8239 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.5794, allocations: 104.2 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.5794, allocations: 1.312 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.58, allocations: 224.2 kB / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.58, allocations: 1.094 kB / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001414/0.5814, allocations: 491.7 kB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5814, allocations: 63.97 kB / 0.8247 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.5818, allocations: 405.5 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.5819, allocations: 41.23 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.5819, allocations: 99.22 kB / 0.8252 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.582, allocations: 39.97 kB / 0.8253 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.5821, allocations: 127.8 kB / 0.8254 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.5822, allocations: 326.3 kB / 0.8257 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.5824, allocations: 115.3 kB / 0.8258 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.5826, allocations: 177.6 kB / 0.826 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.5829, allocations: 273.4 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5829, allocations: 8 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000625/0.5836, allocations: 491.3 kB / 0.8267 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.5836, allocations: 95.31 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5837, allocations: 1.312 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5837, allocations: 2.438 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5838, allocations: 24.58 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5838, allocations: 7.188 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.584, allocations: 58.52 kB / 0.8269 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.5841, allocations: 61.78 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.0001909/0.5843, allocations: 194.9 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.5844, allocations: 41.52 kB / 0.8272 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.5844, allocations: 41.98 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5844, allocations: 6.094 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5844, allocations: 3.938 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5844, allocations: 1.953 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.5858, allocations: 0.7107 MB / 0.8279 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5858, allocations: 9.125 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.5858, allocations: 9.359 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5858, allocations: 1.156 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.5859, allocations: 18.44 kB / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5859, allocations: 0.8125 kB / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5859, allocations: 0 / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.5871, allocations: 476.1 kB / 0.8284 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.5873, allocations: 137.1 kB / 0.8285 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.5874, allocations: 10.33 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5876, allocations: 32.56 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5877, allocations: 7.953 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.5878, allocations: 64.78 kB / 0.8287 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003425/0.5881, allocations: 293.8 kB / 0.8289 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5881, allocations: 0.5625 kB / 0.8289 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003236/0.5884, allocations: 64.92 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.001203/0.5896, allocations: 1.024 MB / 0.83 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008065/0.5904, allocations: 405.8 kB / 0.8304 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5904, allocations: 0 / 0.8304 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.5908, allocations: 116.4 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.0002733/0.5911, allocations: 23.42 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.003368/0.5945, allocations: 2.803 MB / 0.8333 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.5948, allocations: 0.7709 MB / 0.834 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.5949, allocations: 12.09 kB / 0.834 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.595, allocations: 29.44 kB / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.595, allocations: 0 / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.6174, allocations: 6.326 MB / 0.8402 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.683, allocations: 6.625 kB / 0.8402 GB, free: 4.977 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.729926115833223] Failed to read output from testmodel.py, exit status != 0: 7.761469105957076 7.772246404 7.194684835 Calling exit ...