Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 216.5 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.918/0.918, allocations: 145 MB / 458.2 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 72.2 kB / 0.6339 GB, free: 6.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1888, allocations: 87.88 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002946/0.1918, allocations: 1.274 MB / 0.721 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1929, allocations: 486.8 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1929, allocations: 0 / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.1929, allocations: 0 / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.193, allocations: 0 / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.1934, allocations: 71.73 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.1934, allocations: 7.984 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.1935, allocations: 4 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.1935, allocations: 0 / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.1935, allocations: 11.97 kB / 0.7215 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.1936, allocations: 0 / 0.7215 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1937, allocations: 79.83 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.1938, allocations: 4 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1938, allocations: 11.92 kB / 0.7216 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.194, allocations: 59.86 kB / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.194, allocations: 0 / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.247e-06/0.194, allocations: 4 kB / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.194, allocations: 0 / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003938/0.1944, allocations: 258.3 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1944, allocations: 12.03 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.657e-05/0.1945, allocations: 4.125 kB / 0.722 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.1945, allocations: 38.73 kB / 0.722 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1945, allocations: 8.875 kB / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.1946, allocations: 107.2 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1946, allocations: 384 / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1946, allocations: 8.375 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1948, allocations: 53.62 kB / 0.7222 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1948, allocations: 0 / 0.7222 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1948, allocations: 0 / 0.7222 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1948, allocations: 0 / 0.7222 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.1948, allocations: 19.92 kB / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.195, allocations: 124.8 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.1951, allocations: 26.56 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.1951, allocations: 16.95 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.1951, allocations: 3.938 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1953, allocations: 71.38 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1953, allocations: 4 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002316/0.1955, allocations: 93.61 kB / 0.7225 GB, free: 11.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1955, allocations: 55.41 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.1956, allocations: 93.86 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1956, allocations: 29.7 kB / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.1957, allocations: 84.14 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1957, allocations: 19.83 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1957, allocations: 25.72 kB / 0.7228 GB, free: 11.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1959, allocations: 322.8 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.1959, allocations: 24.02 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.196, allocations: 65.94 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1962, allocations: 97.92 kB / 0.7233 GB, free: 10.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1962, allocations: 0 / 0.7233 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001847/0.1963, allocations: 121.4 kB / 0.7234 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1964, allocations: 8 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1964, allocations: 0 / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1964, allocations: 4 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.1965, allocations: 11.94 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1965, allocations: 4 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.1965, allocations: 8 kB / 0.7234 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1965, allocations: 7.938 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.1966, allocations: 134.7 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.1967, allocations: 7.891 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.1967, allocations: 3.906 kB / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1967, allocations: 0 / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1967, allocations: 0 / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1967, allocations: 4 kB / 0.7236 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1968, allocations: 128.7 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.1968, allocations: 7.875 kB / 0.7237 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.1968, allocations: 0 / 0.7237 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1968, allocations: 4 kB / 0.7237 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1968, allocations: 0 / 0.7237 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1968, allocations: 4 kB / 0.7237 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1968, allocations: 4 kB / 0.7237 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.197, allocations: 105 kB / 0.7238 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.197, allocations: 15.83 kB / 0.7238 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.197, allocations: 7.984 kB / 0.7238 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.197, allocations: 0 / 0.7238 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.1971, allocations: 0 / 0.7238 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1971, allocations: 4 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.1971, allocations: 75.28 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1971, allocations: 4.031 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002418/0.1974, allocations: 24 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005756/0.1979, allocations: 0.6663 MB / 0.7246 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1981, allocations: 55.84 kB / 0.7247 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1981, allocations: 4 kB / 0.7247 GB, free: 9.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.1981, allocations: 15.98 kB / 0.7247 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1982, allocations: 0.5312 kB / 0.7247 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1987, allocations: 163.2 kB / 0.7248 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.1988, allocations: 67.28 kB / 0.7249 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.1988, allocations: 7.984 kB / 0.7249 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1988, allocations: 11.44 kB / 0.7249 GB, free: 9.086 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.1988, allocations: 3.938 kB / 0.7249 GB, free: 9.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.2212, allocations: 1.761 MB / 0.7266 GB, free: 7.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.49, allocations: 0.5 kB / 0.7266 GB, free: 7.531 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.212826881092042] Failed to read output from testmodel.py, exit status != 0: 11.650503381970339 11.668585693 11.471485593 Calling exit ...