Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.0007246/0.0007246, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0007377/0.0007377, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.8885/0.8885, allocations: 230.6 MB / 256 MB, free: 9.582 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.754/0.754, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001369/0.001369, allocations: 72.66 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4811, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002262/0.4834, allocations: 1.311 MB / 0.8191 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.4844, allocations: 446.7 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.4845, allocations: 3.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.4846, allocations: 4.688 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.4847, allocations: 7.547 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.4851, allocations: 35.23 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.4852, allocations: 27.89 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.4853, allocations: 2.984 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.4854, allocations: 12.16 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4855, allocations: 10.02 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4855, allocations: 1.906 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4857, allocations: 40.41 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.4857, allocations: 20.62 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.4858, allocations: 11.59 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.486, allocations: 57.94 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.486, allocations: 5.812 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.837e-06/0.486, allocations: 0 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.486, allocations: 0 / 0.8198 GB, free: 15.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004917/0.4865, allocations: 289.3 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.4865, allocations: 8.812 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.4866, allocations: 31.45 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.4866, allocations: 7.141 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.4868, allocations: 114.5 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4869, allocations: 384 / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4869, allocations: 2.156 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.487, allocations: 49.19 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.487, allocations: 2.75 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.487, allocations: 0.6562 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.487, allocations: 0 / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.4871, allocations: 13.89 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.4872, allocations: 137.9 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.831e-05/0.4873, allocations: 42.72 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.4873, allocations: 18.81 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.4873, allocations: 1.469 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4874, allocations: 48.44 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4874, allocations: 0 / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.4875, allocations: 50 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4876, allocations: 78.7 kB / 0.8206 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4877, allocations: 141.1 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4877, allocations: 26.55 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.4877, allocations: 93.36 kB / 0.8209 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4878, allocations: 3.953 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.4878, allocations: 26.75 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.4879, allocations: 321 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.4879, allocations: 28.73 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.488, allocations: 29.66 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.104e-05/0.488, allocations: 52.73 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.488, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001112/0.4881, allocations: 100.9 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4882, allocations: 5.438 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.4882, allocations: 2.219 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4882, allocations: 0.5625 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.4883, allocations: 2.781 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4883, allocations: 3.938 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.4883, allocations: 14.52 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.4883, allocations: 1.188 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.67e-05/0.4884, allocations: 119.7 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.4884, allocations: 12.44 kB / 0.8216 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.4884, allocations: 8.078 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4884, allocations: 1.219 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4884, allocations: 0 / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4884, allocations: 1.828 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.866e-05/0.4885, allocations: 129.5 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4885, allocations: 3.984 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.4885, allocations: 12.45 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4885, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.4885, allocations: 1.281 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4885, allocations: 1.688 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4885, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.4886, allocations: 74.17 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.4886, allocations: 10.55 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.4887, allocations: 2.016 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.4887, allocations: 5.188 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.4887, allocations: 2.734 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.4887, allocations: 6.375 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.4887, allocations: 98.25 kB / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4887, allocations: 0 / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001625/0.4889, allocations: 19 kB / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000322/0.4892, allocations: 0.6274 MB / 0.8225 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4893, allocations: 77.55 kB / 0.8226 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4894, allocations: 0 / 0.8226 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.4894, allocations: 5.125 kB / 0.8226 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4895, allocations: 15.09 kB / 0.8226 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.4903, allocations: 1.303 MB / 0.8239 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.4904, allocations: 70.02 kB / 0.824 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.4904, allocations: 4.641 kB / 0.824 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.4904, allocations: 20.52 kB / 0.824 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.4904, allocations: 0 / 0.824 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.5081, allocations: 2.161 MB / 0.8261 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.408/6.916, allocations: 12.14 kB / 0.8261 GB, free: 10.87 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.71159005863592] Failed to read output from testmodel.py, exit status != 0: 6.994447971694171 7.004997819 6.516888587 Calling exit ...