Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7028/0.7028, allocations: 127.4 MB / 134.9 MB, free: 3.711 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 172.8 kB / 164.6 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 94.03 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.793e-05, allocations: 4 kB / 0.5467 GB, free: 60.34 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 76.76 MB / 0.6217 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/0.718, allocations: 104.4 MB / 0.7236 GB, free: 11.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.7184, allocations: 111.6 kB / 0.7237 GB, free: 11.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.7299, allocations: 3.865 MB / 0.7275 GB, free: 7.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.73, allocations: 0 / 0.7275 GB, free: 7.797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.73, allocations: 7.938 kB / 0.7275 GB, free: 7.789 MB / 490.7 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.0004091/0.7304, allocations: 392.9 kB / 0.7279 GB, free: 7.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.7305, allocations: 15.92 kB / 0.7279 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.7305, allocations: 15.05 kB / 0.7279 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7307, allocations: 167 kB / 0.7281 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.7307, allocations: 0 / 0.7281 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.7307, allocations: 0 / 0.7281 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.768e-05/0.7308, allocations: 47.34 kB / 0.7281 GB, free: 7.094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.7309, allocations: 60.86 kB / 0.7282 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7309, allocations: 0 / 0.7282 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.7309, allocations: 3.938 kB / 0.7282 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.731, allocations: 8 kB / 0.7282 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.7312, allocations: 157.4 kB / 0.7283 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.7313, allocations: 54.38 kB / 0.7284 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.7313, allocations: 40.06 kB / 0.7284 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.7313, allocations: 4 kB / 0.7284 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.7314, allocations: 38.55 kB / 0.7285 GB, free: 6.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.7314, allocations: 0 / 0.7285 GB, free: 6.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002111/0.7316, allocations: 109.2 kB / 0.7286 GB, free: 6.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.7316, allocations: 55.41 kB / 0.7286 GB, free: 6.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.7317, allocations: 116.4 kB / 0.7287 GB, free: 6.406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.7318, allocations: 25.7 kB / 0.7288 GB, free: 6.375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.7318, allocations: 91.61 kB / 0.7289 GB, free: 6.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.7319, allocations: 34.52 kB / 0.7289 GB, free: 6.254 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.7319, allocations: 0 / 0.7289 GB, free: 6.254 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.732, allocations: 326 kB / 0.7292 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.7321, allocations: 38.05 kB / 0.7292 GB, free: 5.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.7321, allocations: 31.42 kB / 0.7293 GB, free: 5.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.7322, allocations: 40 kB / 0.7293 GB, free: 5.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7322, allocations: 0 / 0.7293 GB, free: 5.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001337/0.7323, allocations: 108.2 kB / 0.7294 GB, free: 5.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7323, allocations: 4 kB / 0.7294 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7323, allocations: 4.062 kB / 0.7294 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7324, allocations: 0 / 0.7294 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.7324, allocations: 0 / 0.7294 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7324, allocations: 4 kB / 0.7294 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.7324, allocations: 3.906 kB / 0.7294 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.7324, allocations: 7.375 kB / 0.7294 GB, free: 5.707 MB / 490.7 MB 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 7.036e-05/0.7325, allocations: 104.9 kB / 0.7295 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001268/0.7326, allocations: 109.2 kB / 0.7296 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.7327, allocations: 14.95 kB / 0.7297 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.7327, allocations: 12.66 kB / 0.7297 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.7327, allocations: 7.984 kB / 0.7297 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7327, allocations: 0 / 0.7297 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.7327, allocations: 0 / 0.7297 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.7329, allocations: 161.7 kB / 0.7298 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7329, allocations: 0 / 0.7298 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.7329, allocations: 0 / 0.7298 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7329, allocations: 0 / 0.7298 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7329, allocations: 4 kB / 0.7298 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7329, allocations: 0 / 0.7298 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7329, allocations: 0 / 0.7298 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.7331, allocations: 151.9 kB / 0.73 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.7331, allocations: 85.02 kB / 0.7301 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.7332, allocations: 0 / 0.7301 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.7332, allocations: 0 / 0.7301 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.7332, allocations: 4 kB / 0.7301 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.7332, allocations: 8 kB / 0.7301 GB, free: 4.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.7333, allocations: 105.4 kB / 0.7302 GB, free: 4.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7333, allocations: 4.031 kB / 0.7302 GB, free: 4.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000332/0.7336, allocations: 75.92 kB / 0.7302 GB, free: 4.82 MB / 490.7 MB 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.0005935/0.7342, allocations: 0.7477 MB / 0.731 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.7343, allocations: 66.53 kB / 0.731 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7344, allocations: 0 / 0.731 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.7344, allocations: 39.27 kB / 0.7311 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.7345, allocations: 0 / 0.7311 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.735, allocations: 210.1 kB / 0.7313 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7353, allocations: 0.6963 MB / 0.732 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.237e-05/0.7353, allocations: 8.625 kB / 0.732 GB, free: 3.008 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.7353, allocations: 18.62 kB / 0.732 GB, free: 2.996 MB / 490.7 MB Notification: Performance of SimCode: time 1.913e-06/0.7354, allocations: 0 / 0.732 GB, free: 2.996 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.7604, allocations: 2.312 MB / 0.7342 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003967/0.7609, allocations: 226.1 kB / 0.7345 GB, free: 456 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.331, allocations: 0 / 0.7345 GB, free: 456 kB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)