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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005841/0.005841, allocations: 97.23 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9639/0.9639, allocations: 135.5 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 63.91 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001998/0.3915, allocations: 1.235 MB / 0.6661 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3927, allocations: 0.8855 MB / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.3927, allocations: 0 / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3928, allocations: 1.406 kB / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.3929, allocations: 27.14 kB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3936, allocations: 247.7 kB / 0.6672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.3936, allocations: 28.58 kB / 0.6673 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3937, allocations: 5.172 kB / 0.6673 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.3937, allocations: 19.62 kB / 0.6673 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3939, allocations: 50.81 kB / 0.6673 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3939, allocations: 0 / 0.6673 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3943, allocations: 284.4 kB / 0.6676 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.3943, allocations: 17.41 kB / 0.6676 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3944, allocations: 25.17 kB / 0.6677 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.3947, allocations: 232.8 kB / 0.6679 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3947, allocations: 0 / 0.6679 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3947, allocations: 0 / 0.6679 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3947, allocations: 0 / 0.6679 GB, free: 4.695 MB / 0.4981 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.0003418/0.3951, allocations: 392.7 kB / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3951, allocations: 17.12 kB / 0.6683 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.3951, allocations: 32.12 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.3952, allocations: 7.422 kB / 0.6683 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/0.3953, allocations: 180.4 kB / 0.6685 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3953, allocations: 4.125 kB / 0.6685 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3953, allocations: 1.281 kB / 0.6685 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3954, allocations: 55.34 kB / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3954, allocations: 0 / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.3955, allocations: 0 / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.3955, allocations: 15.02 kB / 0.6686 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.3955, allocations: 32.81 kB / 0.6686 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3957, allocations: 180.9 kB / 0.6688 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.3958, allocations: 52.56 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.3959, allocations: 40.25 kB / 0.6688 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.3959, allocations: 0 / 0.6688 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3959, allocations: 40.09 kB / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3959, allocations: 0 / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002148/0.3961, allocations: 130.2 kB / 0.669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3961, allocations: 52.62 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.3962, allocations: 133.1 kB / 0.6692 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.3963, allocations: 27.11 kB / 0.6692 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.3963, allocations: 90.59 kB / 0.6693 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3963, allocations: 35.62 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.3964, allocations: 22.55 kB / 0.6694 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3964, allocations: 317.5 kB / 0.6697 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.3965, allocations: 32.17 kB / 0.6697 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.3965, allocations: 29.33 kB / 0.6697 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.3966, allocations: 70.48 kB / 0.6698 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3966, allocations: 3.938 kB / 0.6698 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.3967, allocations: 98.81 kB / 0.6699 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3967, allocations: 9.562 kB / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3967, allocations: 0 / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3967, allocations: 0 / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3967, allocations: 0 / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3968, allocations: 4.938 kB / 0.6699 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.3968, allocations: 5.156 kB / 0.6699 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3968, allocations: 2.5 kB / 0.6699 GB, free: 2.812 MB / 0.4981 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.587e-05/0.3969, allocations: 127.5 kB / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.3969, allocations: 6.359 kB / 0.67 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.371e-05/0.3969, allocations: 10.7 kB / 0.67 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.3969, allocations: 10 kB / 0.67 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3969, allocations: 0 / 0.67 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3969, allocations: 1.469 kB / 0.67 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.397, allocations: 177.8 kB / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.397, allocations: 0 / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.397, allocations: 0 / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3971, allocations: 1.188 kB / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3971, allocations: 0 / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.3971, allocations: 1.469 kB / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3971, allocations: 3.938 kB / 0.6702 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3972, allocations: 130.9 kB / 0.6703 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.3972, allocations: 83.53 kB / 0.6704 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3973, allocations: 7.969 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.3973, allocations: 1.406 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.3973, allocations: 1.312 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3973, allocations: 1.25 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.3973, allocations: 100.7 kB / 0.6705 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.303e-06/0.3973, allocations: 0 / 0.6705 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000293/0.3976, allocations: 77.36 kB / 0.6706 GB, free: 2.164 MB / 0.4981 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.0004632/0.3981, allocations: 0.7418 MB / 0.6713 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3982, allocations: 68.08 kB / 0.6714 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3982, allocations: 0 / 0.6714 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.3983, allocations: 35.8 kB / 0.6714 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.3984, allocations: 6.281 kB / 0.6714 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.3989, allocations: 262 kB / 0.6717 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.399, allocations: 0.6932 MB / 0.6724 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.399, allocations: 3.031 kB / 0.6724 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3991, allocations: 26.2 kB / 0.6724 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3991, allocations: 0 / 0.6724 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.4214, allocations: 2.819 MB / 0.6751 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.122, allocations: 16.75 kB / 0.6752 GB, free: 15.12 MB / 0.5137 GB (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 --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)