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.001761/0.001761, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002103/0.002103, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.777 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.9063/0.9063, allocations: 145 MB / 457.4 MB, free: 15.27 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="me",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="me",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.002089/0.002089, allocations: 62.47 kB / 0.6331 GB, free: 6.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.184, allocations: 87.91 MB / 0.719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002657/0.1867, allocations: 1.259 MB / 0.7202 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.1877, allocations: 490.8 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.1877, allocations: 0 / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.1877, allocations: 0 / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.1878, allocations: 0 / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1881, allocations: 63.78 kB / 0.7207 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.1882, allocations: 16 kB / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1882, allocations: 3.984 kB / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1883, allocations: 4 kB / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.1883, allocations: 15.86 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1883, allocations: 0 / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1885, allocations: 67.83 kB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.1885, allocations: 11.98 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1886, allocations: 4 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1887, allocations: 62.47 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1887, allocations: 3.984 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1887, allocations: 0 / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1887, allocations: 4 kB / 0.7209 GB, free: 12.75 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.0003801/0.1891, allocations: 262.3 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1892, allocations: 8.031 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.1892, allocations: 34.69 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1892, allocations: 4.938 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.1893, allocations: 103.2 kB / 0.7213 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1893, allocations: 4.375 kB / 0.7213 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1893, allocations: 384 / 0.7213 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1894, allocations: 61.8 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1895, allocations: 0 / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1895, allocations: 4 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1895, allocations: 0 / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.1895, allocations: 15.98 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1897, allocations: 132.6 kB / 0.7215 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.1897, allocations: 26.64 kB / 0.7216 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.1897, allocations: 16.83 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.1898, allocations: 3.984 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1899, allocations: 67.41 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1899, allocations: 0 / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002149/0.1901, allocations: 101.6 kB / 0.7217 GB, free: 11.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1902, allocations: 59.41 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.1902, allocations: 93.84 kB / 0.7219 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1903, allocations: 33.7 kB / 0.7219 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1903, allocations: 80.14 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1903, allocations: 19.84 kB / 0.722 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.1904, allocations: 29.7 kB / 0.722 GB, free: 11.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1905, allocations: 314.8 kB / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.1905, allocations: 19.98 kB / 0.7224 GB, free: 11.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.1906, allocations: 69.98 kB / 0.7224 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1908, allocations: 97.91 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1908, allocations: 0 / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001778/0.1909, allocations: 121.6 kB / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.191, allocations: 8.031 kB / 0.7226 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.191, allocations: 4 kB / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.191, allocations: 3.938 kB / 0.7226 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1911, allocations: 23.92 kB / 0.7227 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1911, allocations: 0 / 0.7227 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.1911, allocations: 4 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1911, allocations: 4 kB / 0.7227 GB, free: 10.72 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 9.983e-05/0.1912, allocations: 122.5 kB / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.1912, allocations: 7.891 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.1913, allocations: 11.89 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1913, allocations: 4 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1913, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1913, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1914, allocations: 120.8 kB / 0.7229 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1914, allocations: 0 / 0.7229 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.1914, allocations: 3.938 kB / 0.7229 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1914, allocations: 3.984 kB / 0.7229 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1914, allocations: 4 kB / 0.7229 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1914, allocations: 0 / 0.7229 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1914, allocations: 3.938 kB / 0.7229 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1915, allocations: 113.3 kB / 0.7231 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.1916, allocations: 11.83 kB / 0.7231 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1916, allocations: 8 kB / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.1916, allocations: 0 / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.1916, allocations: 7.938 kB / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1916, allocations: 0 / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.1917, allocations: 83.28 kB / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1917, allocations: 0 / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002283/0.1919, allocations: 20 kB / 0.7232 GB, free: 10.13 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.0005198/0.1924, allocations: 0.6709 MB / 0.7238 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1926, allocations: 55.92 kB / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1926, allocations: 3.938 kB / 0.7239 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.1926, allocations: 11.98 kB / 0.7239 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1927, allocations: 4 kB / 0.7239 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1931, allocations: 155.2 kB / 0.7241 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.1932, allocations: 59.89 kB / 0.7241 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1932, allocations: 11.98 kB / 0.7241 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1932, allocations: 15.44 kB / 0.7241 GB, free: 9.059 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1932, allocations: 0 / 0.7241 GB, free: 9.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.222, allocations: 2.083 MB / 0.7262 GB, free: 7.168 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.34, allocations: 10.59 kB / 0.7262 GB, free: 7.16 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.917718771379441] Failed to read output from testmodel.py, exit status != 0: 11.444775215815753 11.460638928 11.268683466 Calling exit ...