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.001172/0.001172, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7205/0.7205, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.503/1.503, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 96.88 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.11e-05/5.16e-05, allocations: 3.094 kB / 0.5602 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 82.32 MB / 0.6406 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7419/0.9288, allocations: 113.4 MB / 0.7513 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.9292, allocations: 109.3 kB / 0.7514 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.941, allocations: 3.817 MB / 0.7551 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.644e-06/0.9411, allocations: 0 / 0.7551 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.9411, allocations: 0 / 0.7551 GB, free: 26.94 MB / 0.5105 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.0006011/0.9417, allocations: 392.2 kB / 0.7555 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.9418, allocations: 11.69 kB / 0.7555 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.9419, allocations: 30.56 kB / 0.7555 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.9419, allocations: 7.844 kB / 0.7555 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.9421, allocations: 174 kB / 0.7557 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.9421, allocations: 0 / 0.7557 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.9422, allocations: 3.984 kB / 0.7557 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9423, allocations: 76.58 kB / 0.7558 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9423, allocations: 0 / 0.7558 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9424, allocations: 0 / 0.7558 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.9424, allocations: 7.719 kB / 0.7558 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.9425, allocations: 30.05 kB / 0.7558 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.9427, allocations: 187.2 kB / 0.756 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.9428, allocations: 55.61 kB / 0.7561 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.9429, allocations: 49.81 kB / 0.7561 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.9429, allocations: 192 / 0.7561 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.9429, allocations: 34.5 kB / 0.7561 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.943, allocations: 3.812 kB / 0.7561 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002568/0.9432, allocations: 109.9 kB / 0.7562 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.9433, allocations: 51.41 kB / 0.7563 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.9434, allocations: 122.7 kB / 0.7564 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.9435, allocations: 25.7 kB / 0.7564 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.9435, allocations: 95.25 kB / 0.7565 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.9436, allocations: 30.66 kB / 0.7566 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.9436, allocations: 0 / 0.7566 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9437, allocations: 321.9 kB / 0.7569 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.9438, allocations: 30.48 kB / 0.7569 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.9438, allocations: 38.31 kB / 0.7569 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.9439, allocations: 38.19 kB / 0.757 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9439, allocations: 0 / 0.757 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000139/0.944, allocations: 114.1 kB / 0.7571 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9441, allocations: 7.875 kB / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.9441, allocations: 4 kB / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9441, allocations: 3.906 kB / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.9441, allocations: 3.984 kB / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.9441, allocations: 0 / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.9441, allocations: 0 / 0.7571 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.9442, allocations: 3.812 kB / 0.7571 GB, free: 25.2 MB / 0.5105 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 8.926e-05/0.9443, allocations: 108.8 kB / 0.7572 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.9443, allocations: 3.906 kB / 0.7572 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.9443, allocations: 12.47 kB / 0.7572 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9443, allocations: 3.625 kB / 0.7572 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9443, allocations: 7.953 kB / 0.7572 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9443, allocations: 0 / 0.7572 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.9445, allocations: 182.9 kB / 0.7574 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9445, allocations: 3.953 kB / 0.7574 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.9445, allocations: 96 / 0.7574 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.9445, allocations: 3.938 kB / 0.7574 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9446, allocations: 3.719 kB / 0.7574 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9446, allocations: 0 / 0.7574 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9446, allocations: 0 / 0.7574 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.9447, allocations: 148.6 kB / 0.7576 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.9448, allocations: 84.91 kB / 0.7576 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.9449, allocations: 3.984 kB / 0.7576 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.9449, allocations: 0 / 0.7576 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.9449, allocations: 3.844 kB / 0.7576 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.9449, allocations: 3.844 kB / 0.7576 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.945, allocations: 100.3 kB / 0.7577 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.945, allocations: 4.031 kB / 0.7577 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003675/0.9454, allocations: 85.64 kB / 0.7578 GB, free: 24.57 MB / 0.5105 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.0008235/0.9462, allocations: 0.7346 MB / 0.7585 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.9464, allocations: 67.11 kB / 0.7586 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9464, allocations: 96 / 0.7586 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.9464, allocations: 40.8 kB / 0.7586 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.9465, allocations: 0 / 0.7586 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.947, allocations: 216.9 kB / 0.7589 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.9476, allocations: 0.7015 MB / 0.7595 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.9476, allocations: 9.781 kB / 0.7595 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.9477, allocations: 14.62 kB / 0.7596 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.9477, allocations: 0 / 0.7596 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.9655, allocations: 2.602 MB / 0.7621 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.9658, allocations: 217.2 kB / 0.7623 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.583, allocations: 0 / 0.7623 GB, free: 21.63 MB / 0.5105 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)