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.008646/0.008646, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8178/0.8178, allocations: 135.2 MB / 151 MB, free: 13.8 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.405/1.405, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009292/0.0009292, allocations: 97.89 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 11.98 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4803, allocations: 82.3 MB / 0.6496 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.7076, allocations: 113.5 MB / 0.7604 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004255/0.7081, allocations: 103.9 kB / 0.7605 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01952/0.7277, allocations: 3.834 MB / 0.7642 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7277, allocations: 0 / 0.7642 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.7277, allocations: 4 kB / 0.7642 GB, free: 14.59 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.0005451/0.7283, allocations: 403 kB / 0.7646 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7283, allocations: 8.031 kB / 0.7646 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.7284, allocations: 42.48 kB / 0.7647 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.7285, allocations: 3.906 kB / 0.7647 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.7286, allocations: 174.9 kB / 0.7648 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7287, allocations: 0 / 0.7648 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.7287, allocations: 4 kB / 0.7648 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.7289, allocations: 61.67 kB / 0.7649 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7289, allocations: 7.938 kB / 0.7649 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7289, allocations: 0 / 0.7649 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.729, allocations: 8 kB / 0.7649 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.7291, allocations: 35.97 kB / 0.7649 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.7294, allocations: 189.5 kB / 0.7651 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.7295, allocations: 54.56 kB / 0.7652 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.7295, allocations: 3.984 kB / 0.7652 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.7296, allocations: 38.56 kB / 0.7652 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.7296, allocations: 0 / 0.7652 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0004253/0.73, allocations: 230.8 kB / 0.7654 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7301, allocations: 51.41 kB / 0.7655 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.7303, allocations: 121 kB / 0.7656 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.7303, allocations: 25.7 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.7304, allocations: 88.14 kB / 0.7657 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.7304, allocations: 35.53 kB / 0.7657 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.7305, allocations: 0 / 0.7657 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7306, allocations: 326.9 kB / 0.766 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.7307, allocations: 27.98 kB / 0.7661 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.7308, allocations: 31.98 kB / 0.7661 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.7309, allocations: 48.22 kB / 0.7662 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7309, allocations: 7.953 kB / 0.7662 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002326/0.7311, allocations: 109.6 kB / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7312, allocations: 4 kB / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7312, allocations: 0 / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.7312, allocations: 0 / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.7312, allocations: 4.062 kB / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7313, allocations: 0 / 0.7663 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.7313, allocations: 7.938 kB / 0.7663 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.7313, allocations: 4 kB / 0.7663 GB, free: 12.23 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 0.0001147/0.7315, allocations: 121.8 kB / 0.7664 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7315, allocations: 11.86 kB / 0.7664 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.7315, allocations: 12.36 kB / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.7316, allocations: 4 kB / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7316, allocations: 3.938 kB / 0.7664 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7316, allocations: 4 kB / 0.7664 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.7319, allocations: 177.6 kB / 0.7666 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7319, allocations: 4 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-06/0.7319, allocations: 3.953 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.7319, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.7319, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7319, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7319, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.7322, allocations: 145 kB / 0.7667 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.7323, allocations: 81.02 kB / 0.7668 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.7323, allocations: 7.953 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.7323, allocations: 0 / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.7324, allocations: 0 / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.7324, allocations: 4 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.7325, allocations: 103.7 kB / 0.7669 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7325, allocations: 3.938 kB / 0.7669 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005612/0.7331, allocations: 83.88 kB / 0.767 GB, free: 11.38 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.0008594/0.734, allocations: 0.745 MB / 0.7677 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.7341, allocations: 63.98 kB / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7342, allocations: 0 / 0.7678 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.7342, allocations: 35.98 kB / 0.7678 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.7344, allocations: 6.031 kB / 0.7678 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.7352, allocations: 286.9 kB / 0.7681 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7355, allocations: 0.6965 MB / 0.7688 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.957e-05/0.7356, allocations: 9.25 kB / 0.7688 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.7356, allocations: 23.42 kB / 0.7688 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7356, allocations: 0 / 0.7688 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.7559, allocations: 2.566 MB / 0.7713 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.7563, allocations: 248 kB / 0.7716 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.434, allocations: 0 / 0.7716 GB, free: 6.77 MB / 0.5417 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)