Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6933/0.6933, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 184.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007976/0.0007976, allocations: 99.03 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 273.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.309e-05/5.332e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3723, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.4832, allocations: 110.7 MB / 0.8725 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4835, allocations: 111.9 kB / 0.8726 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.4942, allocations: 3.827 MB / 0.8764 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4942, allocations: 0 / 0.8764 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.4942, allocations: 4 kB / 0.8764 GB, free: 9.883 MB / 0.5417 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.0002864/0.4945, allocations: 394.1 kB / 0.8768 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4946, allocations: 12.03 kB / 0.8768 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.4946, allocations: 34.56 kB / 0.8768 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.4946, allocations: 3.906 kB / 0.8768 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.4947, allocations: 171 kB / 0.877 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.4947, allocations: 3.953 kB / 0.877 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.4948, allocations: 0 / 0.877 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4949, allocations: 65.67 kB / 0.877 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4949, allocations: 0 / 0.877 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.4949, allocations: 0 / 0.877 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4949, allocations: 7.984 kB / 0.877 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.495, allocations: 35.98 kB / 0.8771 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.4951, allocations: 177.6 kB / 0.8772 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.4952, allocations: 62.55 kB / 0.8773 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.4953, allocations: 48.86 kB / 0.8774 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.4953, allocations: 0 / 0.8774 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.4953, allocations: 30.56 kB / 0.8774 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.4953, allocations: 0 / 0.8774 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0001621/0.4955, allocations: 117.6 kB / 0.8775 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.4955, allocations: 51.41 kB / 0.8775 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.4956, allocations: 121 kB / 0.8777 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.4956, allocations: 29.64 kB / 0.8777 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.4957, allocations: 92.12 kB / 0.8778 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4957, allocations: 35.45 kB / 0.8778 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.4957, allocations: 0 / 0.8778 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.4958, allocations: 314.8 kB / 0.8781 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.4958, allocations: 40.02 kB / 0.8782 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.4959, allocations: 35.92 kB / 0.8782 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.4959, allocations: 39.97 kB / 0.8782 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4959, allocations: 0 / 0.8782 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001184/0.496, allocations: 113.5 kB / 0.8783 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4961, allocations: 9.406 kB / 0.8783 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4961, allocations: 0 / 0.8783 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.4961, allocations: 0 / 0.8783 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.4961, allocations: 0 / 0.8783 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4961, allocations: 0 / 0.8783 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.4961, allocations: 4.062 kB / 0.8783 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.4961, allocations: 8 kB / 0.8784 GB, free: 7.648 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.4962, allocations: 105 kB / 0.8785 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.4962, allocations: 11.84 kB / 0.8785 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.418e-05/0.4962, allocations: 8.625 kB / 0.8785 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4963, allocations: 4 kB / 0.8785 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4963, allocations: 4 kB / 0.8785 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.4963, allocations: 4 kB / 0.8785 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4964, allocations: 177.6 kB / 0.8787 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4964, allocations: 7.938 kB / 0.8787 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.4964, allocations: 0 / 0.8787 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4964, allocations: 0 / 0.8787 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.4964, allocations: 7.953 kB / 0.8787 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4965, allocations: 3.984 kB / 0.8787 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4965, allocations: 0 / 0.8787 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.4966, allocations: 137.8 kB / 0.8788 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.4966, allocations: 85.02 kB / 0.8789 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.4967, allocations: 0 / 0.8789 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.4967, allocations: 11.92 kB / 0.8789 GB, free: 7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.4967, allocations: 4 kB / 0.8789 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4967, allocations: 7.984 kB / 0.8789 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.4968, allocations: 103.2 kB / 0.879 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4968, allocations: 0 / 0.879 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002483/0.497, allocations: 79.92 kB / 0.8791 GB, free: 6.809 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000496/0.4975, allocations: 0.7411 MB / 0.8798 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.4976, allocations: 63.98 kB / 0.8799 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4976, allocations: 0 / 0.8799 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.4977, allocations: 35.98 kB / 0.8799 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.604e-05/0.4978, allocations: 8.719 kB / 0.8799 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.4981, allocations: 207.3 kB / 0.8801 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.4983, allocations: 0.7043 MB / 0.8808 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.4984, allocations: 5.828 kB / 0.8808 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.4984, allocations: 27.42 kB / 0.8808 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4984, allocations: 0 / 0.8808 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.5112, allocations: 2.614 MB / 0.8834 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5115, allocations: 236.9 kB / 0.8836 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.361/1.872, allocations: 0 / 0.8836 GB, free: 2.23 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)