Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 101.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 286.8 kB / 303 MB, free: 3.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 180.9 MB / 0.5262 GB, free: 2.75 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 95.84 kB / 0.7248 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5053, allocations: 94.15 MB / 0.8168 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001479/0.5068, allocations: 0.5589 MB / 0.8173 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007243/0.5076, allocations: 0.7714 MB / 0.818 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.5076, allocations: 0.875 kB / 0.8181 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.5076, allocations: 0 / 0.8181 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.5076, allocations: 0 / 0.8181 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.5078, allocations: 30.17 kB / 0.8181 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.861e-05/0.5079, allocations: 1.188 kB / 0.8181 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.5079, allocations: 13.23 kB / 0.8181 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.5079, allocations: 1 kB / 0.8181 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.5081, allocations: 18.06 kB / 0.8181 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.5081, allocations: 0 / 0.8181 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-06/0.5081, allocations: 0 / 0.8181 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.5081, allocations: 4.953 kB / 0.8181 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.5081, allocations: 0 / 0.8181 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.915e-05/0.5081, allocations: 8.828 kB / 0.8181 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5081, allocations: 0 / 0.8181 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5081, allocations: 0 / 0.8181 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5081, allocations: 1.25 kB / 0.8181 GB, free: 6.18 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002082/0.5083, allocations: 309.1 kB / 0.8184 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5084, allocations: 13.69 kB / 0.8184 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.5084, allocations: 30.75 kB / 0.8185 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.5084, allocations: 1.938 kB / 0.8185 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.592e-05/0.5085, allocations: 163.6 kB / 0.8186 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-06/0.5085, allocations: 384 / 0.8186 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.5085, allocations: 5.719 kB / 0.8186 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.528e-05/0.5086, allocations: 31.61 kB / 0.8187 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5086, allocations: 3.938 kB / 0.8187 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.5086, allocations: 1.188 kB / 0.8187 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5086, allocations: 0 / 0.8187 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.5086, allocations: 1.344 kB / 0.8187 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.5088, allocations: 385.4 kB / 0.819 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.5088, allocations: 178.4 kB / 0.8192 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.5089, allocations: 80.14 kB / 0.8193 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.5089, allocations: 75.28 kB / 0.8193 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.5089, allocations: 107.1 kB / 0.8195 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5089, allocations: 0 / 0.8195 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 5.943e-05/0.509, allocations: 38.66 kB / 0.8195 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.509, allocations: 127.7 kB / 0.8196 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.144e-05/0.509, allocations: 98.31 kB / 0.8197 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.509, allocations: 26.67 kB / 0.8197 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.5091, allocations: 80.14 kB / 0.8198 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.5091, allocations: 0.9688 kB / 0.8198 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.5091, allocations: 11.62 kB / 0.8198 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.5091, allocations: 315 kB / 0.8201 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-06/0.5091, allocations: 0.9688 kB / 0.8201 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.5091, allocations: 1.031 kB / 0.8201 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.003e-05/0.5092, allocations: 10.89 kB / 0.8201 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5092, allocations: 7.875 kB / 0.8201 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.506e-05/0.5092, allocations: 38.61 kB / 0.8202 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5092, allocations: 5.344 kB / 0.8202 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5093, allocations: 0 / 0.8202 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5093, allocations: 4.094 kB / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.5093, allocations: 1.906 kB / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5093, allocations: 0 / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-06/0.5093, allocations: 1.25 kB / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.5093, allocations: 0 / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.514e-05/0.5094, allocations: 186.6 kB / 0.8204 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.5094, allocations: 107.6 kB / 0.8205 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.5094, allocations: 117.1 kB / 0.8206 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.5095, allocations: 177.1 kB / 0.8207 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.5095, allocations: 181.4 kB / 0.8209 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.5095, allocations: 180.9 kB / 0.8211 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.5097, allocations: 402.5 kB / 0.8215 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.5098, allocations: 106.2 kB / 0.8216 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.5098, allocations: 106.6 kB / 0.8217 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.5099, allocations: 181.9 kB / 0.8219 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.51, allocations: 188.6 kB / 0.822 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.17e-05/0.5101, allocations: 181.5 kB / 0.8222 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-05/0.5102, allocations: 176.3 kB / 0.8224 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.5103, allocations: 319.2 kB / 0.8227 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.5104, allocations: 179.4 kB / 0.8228 GB, free: 17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.5105, allocations: 181.5 kB / 0.823 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.5106, allocations: 105.9 kB / 0.8231 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.5106, allocations: 184.8 kB / 0.8233 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.5107, allocations: 110.2 kB / 0.8234 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.5107, allocations: 76.38 kB / 0.8235 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.5107, allocations: 0 / 0.8235 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001939/0.5109, allocations: 0.9375 kB / 0.8235 GB, free: 16.34 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004404/0.5114, allocations: 0.8168 MB / 0.8243 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.889e-05/0.5114, allocations: 5.969 kB / 0.8243 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5114, allocations: 0.9062 kB / 0.8243 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5114, allocations: 0 / 0.8243 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.5118, allocations: 453.8 kB / 0.8247 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.5121, allocations: 186.4 kB / 0.8249 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.5124, allocations: 0.6699 MB / 0.8255 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.789e-06/0.5124, allocations: 1.031 kB / 0.8255 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.5124, allocations: 11.38 kB / 0.8256 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5124, allocations: 0 / 0.8256 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.5353, allocations: 0.9722 MB / 0.8265 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.088, allocations: 5.938 kB / 0.8265 GB, free: 13.85 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.679029662162066] Failed to read output from testmodel.py, exit status != 0: 8.154335292987525 8.175872064 7.663273743 Calling exit ...