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.0007478/0.0007478, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007842/0.0007842, allocations: 208.1 kB / 22.24 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.8787/0.8787, allocations: 230.6 MB / 256 MB, free: 9.621 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.762/0.762, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009572/0.0009572, allocations: 62.45 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4562, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001641/0.4579, allocations: 1.275 MB / 0.8191 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.459, allocations: 0.8615 MB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.459, allocations: 0.875 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.459, allocations: 1.172 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.4592, allocations: 36.31 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.4598, allocations: 267.5 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.4599, allocations: 29.02 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.4599, allocations: 0.6562 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.46, allocations: 17.14 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.4601, allocations: 56.52 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.4601, allocations: 2.375 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.4605, allocations: 300.3 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.4605, allocations: 20.3 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.4605, allocations: 14.22 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.4608, allocations: 244 kB / 0.8209 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4608, allocations: 0 / 0.8209 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4608, allocations: 0 / 0.8209 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4608, allocations: 0 / 0.8209 GB, free: 15.32 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.000315/0.4612, allocations: 310.5 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4612, allocations: 16.98 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.4612, allocations: 32.81 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.4612, allocations: 7.016 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.616e-05/0.4613, allocations: 118.6 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4613, allocations: 1.438 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-06/0.4613, allocations: 1.438 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4614, allocations: 62.27 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.4614, allocations: 0 / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.4615, allocations: 0 / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.4615, allocations: 14.55 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.4615, allocations: 31.22 kB / 0.8214 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.4617, allocations: 149 kB / 0.8216 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.4617, allocations: 46.09 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.4617, allocations: 36.45 kB / 0.8217 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.4617, allocations: 0 / 0.8217 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4617, allocations: 34.5 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.4618, allocations: 3.219 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0001665/0.4619, allocations: 127 kB / 0.8218 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4619, allocations: 51.41 kB / 0.8219 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.462, allocations: 135.9 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.462, allocations: 25.7 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.4621, allocations: 93.86 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4621, allocations: 35.33 kB / 0.8222 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.4621, allocations: 15.44 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.4622, allocations: 319.3 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.4622, allocations: 27.84 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.4623, allocations: 28.27 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.398e-05/0.4623, allocations: 73.75 kB / 0.8226 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4623, allocations: 1.562 kB / 0.8226 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.639e-05/0.4624, allocations: 101.3 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4624, allocations: 9.062 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4624, allocations: 4.953 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4624, allocations: 1.344 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4625, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4625, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.4625, allocations: 5.531 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4625, allocations: 2.469 kB / 0.8227 GB, free: 13.75 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.419e-05/0.4625, allocations: 120 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.4626, allocations: 14.52 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.4626, allocations: 7.906 kB / 0.8228 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4626, allocations: 16.44 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4626, allocations: 5.281 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4626, allocations: 0.5156 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.4627, allocations: 144.4 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4627, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.4627, allocations: 4.922 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4627, allocations: 1.375 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.4627, allocations: 0 / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4627, allocations: 1.469 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4627, allocations: 0 / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4628, allocations: 133.5 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.4628, allocations: 11.28 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.4628, allocations: 4.781 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-06/0.4628, allocations: 1.312 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.4628, allocations: 0.7031 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4628, allocations: 10.55 kB / 0.8232 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.4629, allocations: 100.8 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4629, allocations: 1.562 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002387/0.4631, allocations: 75.89 kB / 0.8233 GB, free: 13.25 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.0004288/0.4636, allocations: 0.7321 MB / 0.8241 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.4637, allocations: 60.61 kB / 0.8241 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4637, allocations: 0 / 0.8241 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.4637, allocations: 29.58 kB / 0.8241 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.4638, allocations: 5.188 kB / 0.8241 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.4642, allocations: 255.3 kB / 0.8244 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.4643, allocations: 86.8 kB / 0.8245 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.4643, allocations: 7.906 kB / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.4643, allocations: 15.86 kB / 0.8245 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.4643, allocations: 0 / 0.8245 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.483, allocations: 3.262 MB / 0.8277 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.208, allocations: 3.078 kB / 0.8277 GB, free: 11.42 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.077315899077803] Failed to read output from testmodel.py, exit status != 0: 7.286615910939872 7.299544407 6.836449973 Calling exit ...