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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001263/0.001264, allocations: 196.3 kB / 16.14 MB, free: 6.688 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8495/0.8495, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.001131, allocations: 64.59 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 80.93 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002228/0.144, allocations: 1.298 MB / 0.5851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1454, allocations: 0.9181 MB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.1454, allocations: 4 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1455, allocations: 0 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1456, allocations: 27.97 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.1462, allocations: 195.3 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.1462, allocations: 39.94 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.1463, allocations: 0 / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.1463, allocations: 15.98 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.1465, allocations: 47.94 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1465, allocations: 4 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1469, allocations: 275.6 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.1469, allocations: 27.91 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.147, allocations: 15.81 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1473, allocations: 247.7 kB / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1473, allocations: 0 / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1473, allocations: 0 / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1473, allocations: 0 / 0.5869 GB, free: 1.773 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.0003583/0.1477, allocations: 391.2 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1477, allocations: 12.03 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.1478, allocations: 30.75 kB / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.1478, allocations: 4.938 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1479, allocations: 172.2 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.1479, allocations: 384 / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1479, allocations: 3.938 kB / 0.5875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.148, allocations: 61.62 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.148, allocations: 3.984 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.1481, allocations: 0 / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.1481, allocations: 8 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.1481, allocations: 35.98 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1483, allocations: 177.5 kB / 0.5877 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.1484, allocations: 54.55 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.1484, allocations: 40.88 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.1484, allocations: 0 / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1485, allocations: 30.56 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1485, allocations: 0 / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002184/0.1487, allocations: 145.5 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1487, allocations: 51.41 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.1488, allocations: 133.8 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1489, allocations: 25.7 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.1489, allocations: 88.14 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1489, allocations: 27.55 kB / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.149, allocations: 17.72 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1491, allocations: 318.8 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.1491, allocations: 36.02 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.1492, allocations: 24 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.1493, allocations: 76.75 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1493, allocations: 4 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.1494, allocations: 93.53 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1494, allocations: 8 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1495, allocations: 7.969 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1495, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-06/0.1495, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1495, allocations: 64 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1495, allocations: 4 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1495, allocations: 4.375 kB / 0.5889 GB, free: 15.49 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.479e-05/0.1496, allocations: 129.7 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1496, allocations: 7.906 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.1497, allocations: 8.375 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.1497, allocations: 15.92 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1497, allocations: 0 / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1497, allocations: 0 / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1499, allocations: 177.5 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1499, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.1499, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1499, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1499, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1499, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1499, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1501, allocations: 132.9 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.1501, allocations: 81.05 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1501, allocations: 8.016 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.1502, allocations: 7.984 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.1502, allocations: 3.938 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1502, allocations: 0 / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.297e-05/0.1503, allocations: 107 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.1506, allocations: 67.98 kB / 0.5896 GB, free: 14.66 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.000617/0.1512, allocations: 0.7333 MB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1513, allocations: 63.97 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1513, allocations: 0 / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.1514, allocations: 35.98 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1515, allocations: 7.656 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.1521, allocations: 291.6 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1524, allocations: 0.6965 MB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.22e-05/0.1525, allocations: 8 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1525, allocations: 15.44 kB / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1525, allocations: 0 / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1647, allocations: 2.679 MB / 0.594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.165, allocations: 277.8 kB / 0.5943 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.778, allocations: 0 / 0.5943 GB, free: 9.871 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)