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.0008003/0.0008003, 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.0007835/0.0007835, allocations: 217.7 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.9222/0.9222, 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.7633/0.7633, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.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: 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.0008803/0.0008803, allocations: 66.89 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4797, allocations: 102 MB / 0.8179 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001622/0.4814, allocations: 1.279 MB / 0.8192 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4825, allocations: 0.9385 MB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.4825, allocations: 0 / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.4825, allocations: 4.688 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.4827, allocations: 31.25 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.4833, allocations: 268.4 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.4834, allocations: 30.08 kB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.4834, allocations: 9.25 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.4835, allocations: 16.3 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.4836, allocations: 57.47 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.4836, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.4841, allocations: 331.7 kB / 0.8208 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.4841, allocations: 23.34 kB / 0.8208 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.4841, allocations: 11.72 kB / 0.8208 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.4844, allocations: 241.5 kB / 0.8211 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4844, allocations: 0 / 0.8211 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4844, allocations: 0 / 0.8211 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.4844, allocations: 0 / 0.8211 GB, free: 15.3 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003278/0.4848, allocations: 314.8 kB / 0.8214 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4848, allocations: 10.06 kB / 0.8214 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.4848, allocations: 37.7 kB / 0.8214 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.4849, allocations: 11.7 kB / 0.8214 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.485, allocations: 124.1 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.485, allocations: 384 / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.485, allocations: 2.969 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4851, allocations: 59.3 kB / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4851, allocations: 0 / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.4851, allocations: 3.938 kB / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.4851, allocations: 8.828 kB / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.4852, allocations: 32.64 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.4853, allocations: 142.2 kB / 0.8218 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.4854, allocations: 48.45 kB / 0.8218 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.4854, allocations: 32.98 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.4854, allocations: 0 / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4854, allocations: 38.09 kB / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.777e-06/0.4854, allocations: 0 / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000181/0.4856, allocations: 132.7 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4857, allocations: 55.44 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.4858, allocations: 128.6 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.4858, allocations: 25.98 kB / 0.8222 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.4858, allocations: 88.92 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.4858, allocations: 33.94 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.4859, allocations: 19.47 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.486, allocations: 321.6 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.486, allocations: 30.7 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.486, allocations: 32.89 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.4861, allocations: 69.66 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4861, allocations: 0 / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.834e-05/0.4862, allocations: 105 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4862, allocations: 4.219 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4862, allocations: 0 / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4862, allocations: 0 / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.4862, allocations: 3.938 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4862, allocations: 0.7969 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.4862, allocations: 7.844 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4862, allocations: 8.062 kB / 0.8229 GB, free: 13.71 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 (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 6.944e-05/0.4863, allocations: 124.1 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.4863, allocations: 14.67 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.4863, allocations: 7.531 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.4863, allocations: 13.22 kB / 0.8231 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4863, allocations: 0 / 0.8231 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4863, allocations: 1.344 kB / 0.8231 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.4864, allocations: 144.2 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4864, allocations: 0 / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.4864, allocations: 7.938 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4864, allocations: 0.9844 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.4865, allocations: 1.562 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.4865, allocations: 3.938 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4865, allocations: 3.969 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.459e-05/0.4865, allocations: 126.2 kB / 0.8233 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.4866, allocations: 10.47 kB / 0.8233 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-06/0.4866, allocations: 1.5 kB / 0.8233 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-06/0.4866, allocations: 4.031 kB / 0.8233 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.4866, allocations: 2.078 kB / 0.8234 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4866, allocations: 2.156 kB / 0.8234 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.4866, allocations: 100.9 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4866, allocations: 0 / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.4868, allocations: 74.2 kB / 0.8235 GB, free: 13.22 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: 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.0004556/0.4873, allocations: 0.7297 MB / 0.8242 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4874, allocations: 63.92 kB / 0.8243 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4874, allocations: 3.938 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.4874, allocations: 30.59 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.4876, allocations: 5.5 kB / 0.8243 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.488, allocations: 254.6 kB / 0.8246 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4882, allocations: 0.6944 MB / 0.8253 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.4882, allocations: 7.406 kB / 0.8253 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.4883, allocations: 19.73 kB / 0.8253 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.4883, allocations: 4 kB / 0.8253 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.505, allocations: 2.938 MB / 0.8282 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.27, allocations: 8.141 kB / 0.8282 GB, free: 11.17 MB / 0.6198 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: 10.24603553605266] Failed to read output from testmodel.py, exit status != 0: 7.346248864196241 7.360494222 6.873207286 Calling exit ...