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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 174.8 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.7792/0.7792, 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.713/1.713, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0009729/0.0009731, allocations: 99.75 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.343e-05, allocations: 3.812 kB / 0.5602 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 82.31 MB / 0.6406 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5661/0.7289, allocations: 113.4 MB / 0.7513 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.7292, allocations: 107.2 kB / 0.7514 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.7399, allocations: 3.817 MB / 0.7551 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7399, allocations: 7.875 kB / 0.7551 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.74, allocations: 0 / 0.7551 GB, free: 27.2 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.0003982/0.7404, allocations: 385.9 kB / 0.7555 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7404, allocations: 7.688 kB / 0.7555 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.7405, allocations: 34.39 kB / 0.7555 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.7405, allocations: 7.781 kB / 0.7555 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.7406, allocations: 174.7 kB / 0.7557 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.7406, allocations: 0 / 0.7557 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.7406, allocations: 7.969 kB / 0.7557 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.7408, allocations: 64.8 kB / 0.7558 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7408, allocations: 3.984 kB / 0.7558 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.7408, allocations: 0 / 0.7558 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.7408, allocations: 3.75 kB / 0.7558 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.7409, allocations: 35.14 kB / 0.7558 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.7411, allocations: 191.8 kB / 0.756 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.7412, allocations: 57.08 kB / 0.7561 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.7412, allocations: 51.19 kB / 0.7561 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-06/0.7412, allocations: 0 / 0.7561 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7412, allocations: 30.56 kB / 0.7561 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.7413, allocations: 0 / 0.7561 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0001825/0.7414, allocations: 110.3 kB / 0.7562 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.7415, allocations: 59.28 kB / 0.7563 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.7416, allocations: 117.6 kB / 0.7564 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.7416, allocations: 29.73 kB / 0.7564 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.7417, allocations: 91.41 kB / 0.7565 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.7417, allocations: 30.73 kB / 0.7566 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.7417, allocations: 0 / 0.7566 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7419, allocations: 322.4 kB / 0.7569 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.7419, allocations: 31.02 kB / 0.7569 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.7419, allocations: 34.94 kB / 0.7569 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.742, allocations: 42.53 kB / 0.757 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.742, allocations: 0 / 0.757 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.7421, allocations: 118.4 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7421, allocations: 3.969 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7422, allocations: 3.938 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7422, allocations: 0 / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.7422, allocations: 3.984 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.7422, allocations: 0.875 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.7422, allocations: 3.812 kB / 0.7571 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.7422, allocations: 3.875 kB / 0.7571 GB, free: 25.46 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 6.415e-05/0.7423, allocations: 104.9 kB / 0.7572 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.7423, allocations: 7.75 kB / 0.7572 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.7424, allocations: 12.5 kB / 0.7572 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.7424, allocations: 3.875 kB / 0.7572 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7424, allocations: 3.984 kB / 0.7572 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7424, allocations: 0 / 0.7572 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.7426, allocations: 191.1 kB / 0.7574 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7426, allocations: 3.953 kB / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.7426, allocations: 0 / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7426, allocations: 0 / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.7426, allocations: 0 / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7426, allocations: 0 / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7426, allocations: 4 kB / 0.7574 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.7428, allocations: 139 kB / 0.7576 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.7428, allocations: 88.91 kB / 0.7576 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.7428, allocations: 3.984 kB / 0.7576 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.7429, allocations: 0 / 0.7576 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.7429, allocations: 0 / 0.7576 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.7429, allocations: 3.938 kB / 0.7576 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.743, allocations: 106.1 kB / 0.7577 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.743, allocations: 4.031 kB / 0.7577 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000335/0.7433, allocations: 80.89 kB / 0.7578 GB, free: 24.83 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.0007257/0.744, allocations: 0.7472 MB / 0.7586 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.7442, allocations: 64.95 kB / 0.7586 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7442, allocations: 4.094 kB / 0.7586 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.7442, allocations: 38.36 kB / 0.7587 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.7444, allocations: 0 / 0.7587 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.7449, allocations: 209.8 kB / 0.7589 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.7452, allocations: 0.6997 MB / 0.7595 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.67e-05/0.7453, allocations: 7.875 kB / 0.7595 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.7454, allocations: 22.53 kB / 0.7596 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.7454, allocations: 0 / 0.7596 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.7607, allocations: 2.597 MB / 0.7621 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.7609, allocations: 223.4 kB / 0.7623 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.31, allocations: 3.188 kB / 0.7623 GB, free: 21.89 MB / 0.5105 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/linux/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)