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.0007982/0.0007982, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004825/0.004825, allocations: 170 kB / 16.27 MB, free: 6.652 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9004/0.9004, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 12 kB / 0.5077 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 82.31 MB / 0.5881 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001442/0.1419, allocations: 0.9657 MB / 0.5891 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1434, allocations: 0.891 MB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1434, allocations: 0 / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.1434, allocations: 4 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1436, allocations: 35.94 kB / 0.59 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.1442, allocations: 190.6 kB / 0.5901 GB, free: 392 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.1443, allocations: 39.95 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.1443, allocations: 3.938 kB / 0.5902 GB, free: 348 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.1444, allocations: 15.98 kB / 0.5902 GB, free: 332 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1445, allocations: 51.94 kB / 0.5903 GB, free: 280 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1445, allocations: 0 / 0.5903 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.1449, allocations: 275.6 kB / 0.5905 GB, free: 4 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.145, allocations: 15.92 kB / 0.5905 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1451, allocations: 49.56 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1454, allocations: 247.7 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1454, allocations: 0 / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1454, allocations: 0 / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.1454, allocations: 0 / 0.5908 GB, free: 15.69 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.0003865/0.1458, allocations: 383.3 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1459, allocations: 12.03 kB / 0.5912 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1459, allocations: 38.73 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.1459, allocations: 8.844 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1461, allocations: 176.2 kB / 0.5914 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1461, allocations: 8.25 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1461, allocations: 3.938 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1462, allocations: 57.69 kB / 0.5915 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1462, allocations: 4 kB / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1462, allocations: 0 / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.1463, allocations: 8 kB / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.1463, allocations: 23.98 kB / 0.5915 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.1465, allocations: 177.6 kB / 0.5917 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.1466, allocations: 58.53 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.1466, allocations: 36.89 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.1466, allocations: 0 / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1467, allocations: 38.55 kB / 0.5918 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1467, allocations: 0 / 0.5918 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002027/0.1469, allocations: 129.6 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1469, allocations: 55.41 kB / 0.592 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.147, allocations: 132.8 kB / 0.5921 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.147, allocations: 25.7 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.1471, allocations: 84.14 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1471, allocations: 39.44 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.1472, allocations: 17.75 kB / 0.5923 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1473, allocations: 322.8 kB / 0.5926 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.1473, allocations: 27.98 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.1473, allocations: 20.28 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.1474, allocations: 80.78 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1474, allocations: 0 / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001077/0.1476, allocations: 101.5 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1476, allocations: 7.984 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1476, allocations: 0 / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1476, allocations: 4.062 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.1476, allocations: 0 / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1476, allocations: 3.938 kB / 0.5928 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.1477, allocations: 4 kB / 0.5928 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1477, allocations: 4 kB / 0.5928 GB, free: 13.41 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 8.023e-05/0.1478, allocations: 129.7 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.1478, allocations: 3.906 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.1478, allocations: 12.38 kB / 0.593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.1478, allocations: 11.98 kB / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1478, allocations: 4 kB / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1478, allocations: 4 kB / 0.593 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.148, allocations: 173.6 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.148, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.1482, allocations: 136.8 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.1482, allocations: 88.95 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1482, allocations: 3.984 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.1482, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1483, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1483, allocations: 4 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.1483, allocations: 99.27 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1483, allocations: 0 / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003238/0.1487, allocations: 75.98 kB / 0.5935 GB, free: 12.58 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.0005998/0.1493, allocations: 0.7294 MB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1494, allocations: 67.95 kB / 0.5943 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1494, allocations: 4 kB / 0.5943 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.1495, allocations: 39.92 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1496, allocations: 4.156 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.1501, allocations: 274.8 kB / 0.5946 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1503, allocations: 0.6926 MB / 0.5953 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.1504, allocations: 8 kB / 0.5953 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1504, allocations: 23.42 kB / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1504, allocations: 0 / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/0.5587, allocations: 2.612 MB / 0.5979 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003705/0.5592, allocations: 281.6 kB / 0.5981 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.508, allocations: 0 / 0.5981 GB, free: 7.902 MB / 0.4981 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)