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.0008084/0.0008084, allocations: 105.5 kB / 18.95 MB, free: 1.316 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.00103/0.00103, allocations: 212 kB / 22.25 MB, free: 3.672 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.9846/0.9846, allocations: 230.6 MB / 256 MB, free: 9.613 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.8234/0.8234, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.00126/0.00126, allocations: 66.61 kB / 0.7181 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6049, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002236/0.6071, allocations: 1.526 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.6083, allocations: 0.535 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.6084, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.6085, allocations: 9.844 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.6087, allocations: 24.94 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.6095, allocations: 318.3 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.61, allocations: 487.7 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.6101, allocations: 6.406 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.6104, allocations: 278.8 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.6107, allocations: 134.3 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.6107, allocations: 29.78 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.6108, allocations: 27.41 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.6109, allocations: 115.7 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.6111, allocations: 158.9 kB / 0.8213 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.6116, allocations: 427.8 kB / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6116, allocations: 1.125 kB / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6116, allocations: 0 / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.6116, allocations: 0 / 0.8217 GB, free: 14.85 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.001122/0.6127, allocations: 0.7952 MB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.6128, allocations: 10.84 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.6128, allocations: 41.41 kB / 0.8225 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.6129, allocations: 52.38 kB / 0.8226 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.6133, allocations: 250.5 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.6133, allocations: 25.91 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.6134, allocations: 29.25 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.614, allocations: 209.2 kB / 0.8231 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.614, allocations: 3.938 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.614, allocations: 2.672 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.614, allocations: 1.344 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.6144, allocations: 107.9 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.6148, allocations: 310.8 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.6154, allocations: 171.3 kB / 0.8236 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.6158, allocations: 107.3 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.6158, allocations: 3.203 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006349/0.6164, allocations: 220.8 kB / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.6164, allocations: 0 / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001436/0.6179, allocations: 492 kB / 0.8244 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6179, allocations: 73.92 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6183, allocations: 410.1 kB / 0.8249 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.6184, allocations: 38.36 kB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.6184, allocations: 96.05 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.6185, allocations: 39.73 kB / 0.8251 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.6186, allocations: 128.2 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6187, allocations: 321.5 kB / 0.8255 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.619, allocations: 189 kB / 0.8257 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.6192, allocations: 247.5 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.6195, allocations: 275.4 kB / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6195, allocations: 0 / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00066/0.6202, allocations: 0.5497 MB / 0.8267 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.6203, allocations: 83.69 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6203, allocations: 1.438 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6203, allocations: 8.031 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.6204, allocations: 23.42 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6204, allocations: 2.969 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.6207, allocations: 63.91 kB / 0.8269 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.6208, allocations: 60.08 kB / 0.8269 GB, free: 11.68 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.0002283/0.621, allocations: 195.7 kB / 0.8271 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.6211, allocations: 46.09 kB / 0.8272 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.6211, allocations: 41.61 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6211, allocations: 1.594 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6211, allocations: 0.7031 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6211, allocations: 0.6094 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6226, allocations: 0.7078 MB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6226, allocations: 4 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.6226, allocations: 5.391 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6226, allocations: 1.344 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.6227, allocations: 22.58 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6227, allocations: 0.75 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6227, allocations: 1.438 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.624, allocations: 487.2 kB / 0.8284 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.6243, allocations: 133.6 kB / 0.8285 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.6243, allocations: 14.52 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.6246, allocations: 32.78 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.6246, allocations: 8.453 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6247, allocations: 64.17 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003463/0.6251, allocations: 297.9 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6251, allocations: 0 / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003157/0.6254, allocations: 65.72 kB / 0.829 GB, free: 10.7 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.001253/0.6266, allocations: 1.032 MB / 0.83 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008593/0.6275, allocations: 469.5 kB / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6275, allocations: 1.219 kB / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.6279, allocations: 113.1 kB / 0.8305 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.6282, allocations: 26.53 kB / 0.8306 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.6315, allocations: 3.09 MB / 0.8336 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.6317, allocations: 167.3 kB / 0.8337 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.9e-05/0.6318, allocations: 14.44 kB / 0.8338 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.6318, allocations: 25.52 kB / 0.8338 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.6318, allocations: 0 / 0.8338 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.6632, allocations: 7.952 MB / 0.8415 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/8.044, allocations: 10.75 kB / 0.8416 GB, free: 3.949 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: 11.257796448655427] Failed to read output from testmodel.py, exit status != 0: 8.125581884756684 8.143008737 7.528456135 Calling exit ...