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.001191/0.001191, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8306/0.8306, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 60.02 kB / 0.5055 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1387, allocations: 80.93 MB / 0.5845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002549/0.1413, allocations: 1.23 MB / 0.5857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1428, allocations: 0.875 MB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1428, allocations: 0 / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1429, allocations: 0 / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.143, allocations: 43.88 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.1439, allocations: 243.5 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.144, allocations: 27.97 kB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.144, allocations: 7.922 kB / 0.5869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.1441, allocations: 19.98 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1442, allocations: 51.88 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1442, allocations: 4 kB / 0.587 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.1447, allocations: 271.6 kB / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.1447, allocations: 19.92 kB / 0.5872 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.1447, allocations: 19.81 kB / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1451, allocations: 243.7 kB / 0.5875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1451, allocations: 0 / 0.5875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1451, allocations: 4 kB / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1451, allocations: 0 / 0.5875 GB, free: 1.336 MB / 494.1 MB 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.0004059/0.1455, allocations: 383.2 kB / 0.5879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1456, allocations: 8.031 kB / 0.5879 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.1456, allocations: 38.75 kB / 0.5879 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1457, allocations: 0.9375 kB / 0.5879 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1458, allocations: 176.2 kB / 0.5881 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1458, allocations: 4.312 kB / 0.5881 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1458, allocations: 7.938 kB / 0.5881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1459, allocations: 53.69 kB / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1459, allocations: 0 / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1459, allocations: 0 / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.146, allocations: 12 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.146, allocations: 27.98 kB / 0.5882 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1462, allocations: 189.4 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.1463, allocations: 54.5 kB / 0.5884 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1463, allocations: 32.89 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.1464, allocations: 0 / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1464, allocations: 42.48 kB / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1464, allocations: 0 / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002046/0.1466, allocations: 133.7 kB / 0.5886 GB, free: 20 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1467, allocations: 51.41 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1468, allocations: 129.8 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1468, allocations: 25.7 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1468, allocations: 88.14 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.1469, allocations: 31.55 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.147, allocations: 17.72 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1471, allocations: 318.8 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.1471, allocations: 32.02 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.1471, allocations: 27.98 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.227e-05/0.1472, allocations: 72.77 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1472, allocations: 4 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001094/0.1473, allocations: 109.5 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1473, allocations: 4 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1474, allocations: 384 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1474, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.1474, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1474, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.1474, allocations: 12 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1474, allocations: 0 / 0.5895 GB, free: 15.06 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 7.623e-05/0.1475, allocations: 129.7 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1475, allocations: 3.906 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.1475, allocations: 8.375 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.1476, allocations: 11.98 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1476, allocations: 4 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1476, allocations: 3.984 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1477, allocations: 181.4 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1477, allocations: 4 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.1477, allocations: 0 / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1478, allocations: 0 / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1478, allocations: 0 / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1478, allocations: 0 / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1478, allocations: 4 kB / 0.5898 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.1479, allocations: 128.9 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.148, allocations: 85.09 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.148, allocations: 3.984 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.148, allocations: 4.031 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.148, allocations: 0 / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.148, allocations: 4 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.1481, allocations: 101.8 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003054/0.1484, allocations: 71.98 kB / 0.5902 GB, free: 14.23 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.0005891/0.149, allocations: 0.7372 MB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1491, allocations: 67.92 kB / 0.591 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1491, allocations: 3.938 kB / 0.591 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.1492, allocations: 35.98 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1493, allocations: 0 / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1498, allocations: 267.7 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1501, allocations: 0.6963 MB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.1501, allocations: 11.12 kB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.1501, allocations: 21.62 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1502, allocations: 0 / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7089/0.859, allocations: 2.792 MB / 0.5947 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.137, allocations: 5.141 kB / 0.5947 GB, free: 9.688 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)