Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.0009543/0.0009543, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009922/0.0009922, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8767/0.8767, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7015/0.7015, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.574e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00225/0.002265, allocations: 1.263 MB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.00388, allocations: 0.8647 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.003905, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.003939, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004074, allocations: 35.89 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.004965, allocations: 263.3 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.005047, allocations: 23.92 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.005089, allocations: 0 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.005141, allocations: 23.95 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005299, allocations: 59.88 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.005312, allocations: 0 / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.005794, allocations: 295.4 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.005848, allocations: 23.92 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.005868, allocations: 4 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.006245, allocations: 283.3 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006248, allocations: 0 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006249, allocations: 0 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.006253, allocations: 0 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00037/0.006623, allocations: 313.8 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.006667, allocations: 9.469 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.006705, allocations: 42.73 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.00673, allocations: 8.828 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.006829, allocations: 125.6 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.006841, allocations: 384 / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.006849, allocations: 4.375 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.006966, allocations: 54.25 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006975, allocations: 192 / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.007111, allocations: 4.125 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.007143, allocations: 15.98 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.007182, allocations: 27.98 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.007387, allocations: 144.7 kB / 0.6219 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.443e-05/0.007451, allocations: 46.59 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.007488, allocations: 40.88 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.007496, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.007519, allocations: 30.56 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.007521, allocations: 0 / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002069/0.007728, allocations: 137.5 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.007762, allocations: 55.41 kB / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.007863, allocations: 127.3 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007874, allocations: 25.7 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.007918, allocations: 96.12 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.007954, allocations: 27.73 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.00799, allocations: 21.7 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.00809, allocations: 322.9 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.008122, allocations: 23.98 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.008149, allocations: 27.98 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.00823, allocations: 76.77 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008232, allocations: 0 / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.008337, allocations: 101.6 kB / 0.623 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.008352, allocations: 7.938 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.00836, allocations: 0 / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.008376, allocations: 7.875 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.008377, allocations: 384 / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.008384, allocations: 4.062 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.008407, allocations: 11.89 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.00842, allocations: 0 / 0.623 GB, free: 8.43 MB / 0.5886 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.581e-05/0.008516, allocations: 125.8 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.008526, allocations: 3.953 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.008548, allocations: 12.42 kB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.00857, allocations: 15.94 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.008577, allocations: 0 / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.008583, allocations: 0 / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.008743, allocations: 148.7 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008745, allocations: 0 / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.008746, allocations: 4 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.008749, allocations: 0 / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.008759, allocations: 4 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008762, allocations: 3.938 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008764, allocations: 0 / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.008897, allocations: 129 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.008908, allocations: 7.953 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008921, allocations: 0 / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.008934, allocations: 3.938 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.00895, allocations: 4 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.008955, allocations: 0 / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.009018, allocations: 103.3 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009018, allocations: 0 / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003657/0.009384, allocations: 79.8 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0006546/0.01004, allocations: 0.7392 MB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01017, allocations: 63.92 kB / 0.6244 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01017, allocations: 0 / 0.6244 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.0102, allocations: 35.92 kB / 0.6244 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01037, allocations: 7.875 kB / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.01091, allocations: 251.2 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.01099, allocations: 81.95 kB / 0.6248 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01104, allocations: 15.36 kB / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.01109, allocations: 24.48 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.01109, allocations: 0 / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02799, allocations: 3.408 MB / 0.6281 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.12, allocations: 8.531 kB / 0.6281 GB, free: 3.238 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_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_AggregationWeightingFactors.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.880678785964847] Failed to read output from testmodel.py, exit status != 0: 7.204887756146491 7.215437218 7.207259164 Calling exit ...