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.001105/0.001105, allocations: 113.9 kB / 18.94 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.000822/0.000822, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9105/0.9105, allocations: 230.6 MB / 256 MB, free: 9.793 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.7488/0.7488, 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.0008721/0.0008721, allocations: 67.86 kB / 0.7183 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4689, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001676/0.4706, allocations: 1.277 MB / 0.8192 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4718, allocations: 0.9439 MB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.4718, allocations: 0 / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.4718, allocations: 0.75 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.4719, allocations: 32.95 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.4726, allocations: 269.3 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.4727, allocations: 25.98 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.4727, allocations: 8.547 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.4728, allocations: 18.72 kB / 0.8204 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4729, allocations: 53.69 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.4729, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.4733, allocations: 326.7 kB / 0.8208 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.4734, allocations: 29.05 kB / 0.8208 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.4734, allocations: 11.16 kB / 0.8208 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.4737, allocations: 239 kB / 0.821 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4737, allocations: 0 / 0.821 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4737, allocations: 1.5 kB / 0.821 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.4737, allocations: 0 / 0.821 GB, free: 15.43 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.0003375/0.474, allocations: 324.3 kB / 0.8214 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4741, allocations: 9.031 kB / 0.8214 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.4741, allocations: 33.58 kB / 0.8214 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.4741, allocations: 14.83 kB / 0.8214 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.4742, allocations: 119.8 kB / 0.8215 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4742, allocations: 384 / 0.8215 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4742, allocations: 384 / 0.8215 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4744, allocations: 64.95 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4744, allocations: 3.984 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.4744, allocations: 4 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.4744, allocations: 11.55 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.4744, allocations: 29.67 kB / 0.8216 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.4746, allocations: 138.8 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.4746, allocations: 43.77 kB / 0.8218 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.4747, allocations: 40.28 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.4747, allocations: 3.938 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4747, allocations: 38.5 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 6.22e-07/0.4747, allocations: 0 / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0001633/0.4749, allocations: 134.3 kB / 0.822 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.4749, allocations: 51.41 kB / 0.8221 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.475, allocations: 129 kB / 0.8222 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.475, allocations: 25.7 kB / 0.8222 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.475, allocations: 91.45 kB / 0.8223 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.475, allocations: 34.47 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.4751, allocations: 20.86 kB / 0.8224 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.4751, allocations: 320.3 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.4752, allocations: 26.22 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.4752, allocations: 28.69 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.4752, allocations: 69.23 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4752, allocations: 0 / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.34e-05/0.4753, allocations: 102.2 kB / 0.8229 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4753, allocations: 7.531 kB / 0.8229 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4754, allocations: 1.125 kB / 0.8229 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4754, allocations: 8 kB / 0.8229 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.4754, allocations: 1.125 kB / 0.8229 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4754, allocations: 5.531 kB / 0.8229 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.4754, allocations: 3.938 kB / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.4754, allocations: 2.688 kB / 0.8229 GB, free: 13.84 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 5.824e-05/0.4754, allocations: 119.4 kB / 0.823 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.4755, allocations: 14.86 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.4755, allocations: 9.422 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4755, allocations: 11.34 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4755, allocations: 7.938 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4755, allocations: 0.6562 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.4756, allocations: 145.3 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4756, allocations: 0 / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.4756, allocations: 3.938 kB / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.4756, allocations: 1.156 kB / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4756, allocations: 1.922 kB / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.4756, allocations: 0 / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4756, allocations: 4 kB / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.4757, allocations: 128.1 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.4757, allocations: 15.77 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.4757, allocations: 1.281 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.4757, allocations: 0.6562 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.4757, allocations: 1.281 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4757, allocations: 3.094 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.4758, allocations: 104.4 kB / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4758, allocations: 0 / 0.8234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002318/0.476, allocations: 76.52 kB / 0.8235 GB, free: 13.35 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.0004442/0.4764, allocations: 0.7307 MB / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.4766, allocations: 67.94 kB / 0.8243 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4766, allocations: 0 / 0.8243 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.4766, allocations: 29.64 kB / 0.8243 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.4767, allocations: 10.22 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.4771, allocations: 251.1 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4773, allocations: 0.6959 MB / 0.8253 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.4773, allocations: 9.969 kB / 0.8253 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.4774, allocations: 24.08 kB / 0.8253 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4774, allocations: 0 / 0.8253 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.4931, allocations: 2.923 MB / 0.8281 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/7.149, allocations: 11.8 kB / 0.8282 GB, free: 11.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.887079501058906] Failed to read output from testmodel.py, exit status != 0: 7.225177670130506 7.23571515 6.760124133 Calling exit ...