Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_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_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/Complex 4.0.0+maint.om/package.mo): time 0.009523/0.009523, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7908/0.7908, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.000944/0.0009441, allocations: 96.23 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 15.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4091, allocations: 82.3 MB / 0.6496 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5544, allocations: 113.5 MB / 0.7604 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5548, allocations: 103.9 kB / 0.7605 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.5665, allocations: 3.841 MB / 0.7642 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5665, allocations: 0 / 0.7642 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5665, allocations: 0 / 0.7642 GB, free: 14.6 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.0004398/0.5669, allocations: 395 kB / 0.7646 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.567, allocations: 8.031 kB / 0.7646 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.5671, allocations: 46.55 kB / 0.7647 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.5671, allocations: 3.906 kB / 0.7647 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5672, allocations: 178.9 kB / 0.7648 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5672, allocations: 3.984 kB / 0.7648 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5672, allocations: 4 kB / 0.7648 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.5674, allocations: 61.61 kB / 0.7649 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5674, allocations: 0 / 0.7649 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5674, allocations: 4 kB / 0.7649 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5674, allocations: 11.92 kB / 0.7649 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.5675, allocations: 35.98 kB / 0.7649 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.5677, allocations: 189.5 kB / 0.7651 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.5678, allocations: 54.56 kB / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.5678, allocations: 0 / 0.7652 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5679, allocations: 30.56 kB / 0.7652 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.5679, allocations: 0 / 0.7652 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002741/0.5681, allocations: 234.8 kB / 0.7654 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.5682, allocations: 55.44 kB / 0.7655 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.5683, allocations: 120.9 kB / 0.7656 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5683, allocations: 29.7 kB / 0.7656 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.5683, allocations: 84.14 kB / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.5684, allocations: 31.55 kB / 0.7657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5684, allocations: 0 / 0.7657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5685, allocations: 322.8 kB / 0.766 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.5686, allocations: 31.98 kB / 0.7661 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.5686, allocations: 35.98 kB / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.5687, allocations: 43.91 kB / 0.7661 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5687, allocations: 3.953 kB / 0.7662 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.5688, allocations: 113.9 kB / 0.7663 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5688, allocations: 4 kB / 0.7663 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5688, allocations: 0 / 0.7663 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5689, allocations: 0 / 0.7663 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.5689, allocations: 3.938 kB / 0.7663 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.5689, allocations: 4 kB / 0.7663 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.5689, allocations: 3.938 kB / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.5689, allocations: 4.062 kB / 0.7663 GB, free: 12.25 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.569, allocations: 125.8 kB / 0.7664 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.569, allocations: 11.86 kB / 0.7664 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.5691, allocations: 16.36 kB / 0.7664 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5691, allocations: 7.938 kB / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5691, allocations: 4 kB / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5691, allocations: 0 / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.5693, allocations: 177.6 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5693, allocations: 4 kB / 0.7666 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.5693, allocations: 3.953 kB / 0.7666 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5693, allocations: 4 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5693, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5693, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5693, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.5694, allocations: 137 kB / 0.7668 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.5695, allocations: 85.02 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5695, allocations: 3.953 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.5695, allocations: 0 / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.5696, allocations: 4.031 kB / 0.7668 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.5696, allocations: 8 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.5696, allocations: 103.2 kB / 0.7669 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5696, allocations: 4 kB / 0.7669 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003374/0.57, allocations: 79.86 kB / 0.767 GB, free: 11.39 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 () * 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 (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.0005619/0.5705, allocations: 0.7432 MB / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.5707, allocations: 63.98 kB / 0.7678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5707, allocations: 0 / 0.7678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.5707, allocations: 39.97 kB / 0.7679 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.5708, allocations: 5.703 kB / 0.7679 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.5713, allocations: 290.9 kB / 0.7681 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.5715, allocations: 0.6926 MB / 0.7688 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.5716, allocations: 15.48 kB / 0.7688 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5716, allocations: 19.44 kB / 0.7688 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5716, allocations: 0 / 0.7688 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.5846, allocations: 2.543 MB / 0.7713 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.5849, allocations: 244.6 kB / 0.7716 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.201, allocations: 8.969 kB / 0.7716 GB, free: 6.871 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)