Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001482/0.001482, allocations: 105.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.001522/0.001522, allocations: 187.7 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.374/1.374, allocations: 225.6 MB / 247.8 MB, free: 3.727 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.002313/0.002313, allocations: 280.8 kB / 303 MB, free: 3.598 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.009/1.009, allocations: 180.9 MB / 0.5261 GB, free: 2.762 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.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 104.2 kB / 0.7248 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4723, allocations: 94.16 MB / 0.8168 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004234/0.4765, allocations: 4.165 MB / 0.8208 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.4795, allocations: 2.416 MB / 0.8232 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.4799, allocations: 10.12 kB / 0.8232 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.4814, allocations: 0.5393 MB / 0.8237 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.4819, allocations: 255.6 kB / 0.824 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.4821, allocations: 134.4 kB / 0.8241 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.4827, allocations: 0.8199 MB / 0.8249 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.483, allocations: 235.6 kB / 0.8251 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.4833, allocations: 294.2 kB / 0.8254 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.4836, allocations: 326.5 kB / 0.8257 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.4837, allocations: 76.34 kB / 0.8258 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.4838, allocations: 75.31 kB / 0.8259 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4839, allocations: 173.9 kB / 0.826 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.4842, allocations: 388.5 kB / 0.8264 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.4851, allocations: 0.9969 MB / 0.8274 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4852, allocations: 0 / 0.8274 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4852, allocations: 4 kB / 0.8274 GB, free: 356 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.4852, allocations: 0 / 0.8274 GB, free: 356 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001365/0.4865, allocations: 0.9641 MB / 0.8283 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4866, allocations: 19.23 kB / 0.8283 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.4867, allocations: 85.09 kB / 0.8284 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.4868, allocations: 79.28 kB / 0.8285 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.4874, allocations: 466.6 kB / 0.8289 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4875, allocations: 36.09 kB / 0.829 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.4875, allocations: 47.94 kB / 0.829 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.4882, allocations: 426.2 kB / 0.8294 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.4882, allocations: 3.953 kB / 0.8294 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4883, allocations: 21.81 kB / 0.8294 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4883, allocations: 11.94 kB / 0.8295 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.4889, allocations: 364.2 kB / 0.8298 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.491, allocations: 1.532 MB / 0.8313 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.4914, allocations: 304.4 kB / 0.8316 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.4919, allocations: 290 kB / 0.8319 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4919, allocations: 8.125 kB / 0.8319 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4919, allocations: 36.75 kB / 0.8319 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.774e-06/0.4919, allocations: 0 / 0.8319 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.000878/0.4928, allocations: 0.4964 MB / 0.8324 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4928, allocations: 60.34 kB / 0.8325 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.4934, allocations: 486 kB / 0.8329 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4934, allocations: 37.08 kB / 0.833 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.4936, allocations: 276.3 kB / 0.8332 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.4937, allocations: 156 kB / 0.8334 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.4938, allocations: 62.19 kB / 0.8334 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.494, allocations: 361.2 kB / 0.8338 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.4942, allocations: 121.8 kB / 0.8339 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.4944, allocations: 131.9 kB / 0.834 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4949, allocations: 296.3 kB / 0.8343 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4949, allocations: 0.75 kB / 0.8343 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006026/0.4955, allocations: 401 kB / 0.8347 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4955, allocations: 6.188 kB / 0.8347 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4955, allocations: 4 kB / 0.8347 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4955, allocations: 2.875 kB / 0.8347 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.496, allocations: 123 kB / 0.8348 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.496, allocations: 2.344 kB / 0.8348 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.4962, allocations: 35.31 kB / 0.8348 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.4962, allocations: 12.34 kB / 0.8349 GB, free: 11.84 MB / 0.5919 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 (46): * Single equations (assignments): 46 * 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.0002169/0.4964, allocations: 195.9 kB / 0.835 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.4965, allocations: 63.14 kB / 0.8351 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.4966, allocations: 61.97 kB / 0.8352 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4966, allocations: 4.859 kB / 0.8352 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4966, allocations: 0 / 0.8352 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4966, allocations: 7.016 kB / 0.8352 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.4973, allocations: 0.5762 MB / 0.8357 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4973, allocations: 7.469 kB / 0.8357 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.4977, allocations: 126.6 kB / 0.8359 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4977, allocations: 5.281 kB / 0.8359 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.4978, allocations: 11.89 kB / 0.8359 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4978, allocations: 2.812 kB / 0.8359 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4978, allocations: 0 / 0.8359 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.4987, allocations: 0.6402 MB / 0.8365 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4989, allocations: 140.9 kB / 0.8366 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.499, allocations: 14.16 kB / 0.8367 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4992, allocations: 12.03 kB / 0.8367 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.4992, allocations: 23.8 kB / 0.8367 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4992, allocations: 7.812 kB / 0.8367 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004389/0.4997, allocations: 353 kB / 0.837 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4997, allocations: 1.312 kB / 0.837 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004071/0.5001, allocations: 148.5 kB / 0.8372 GB, free: 10.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001332/0.5014, allocations: 1.223 MB / 0.8384 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.502, allocations: 295.6 kB / 0.8387 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.502, allocations: 0.5625 kB / 0.8387 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.5023, allocations: 170.7 kB / 0.8388 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.503, allocations: 130.5 kB / 0.8389 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.5097, allocations: 4.859 MB / 0.8437 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.5102, allocations: 0.8684 MB / 0.8445 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.5105, allocations: 52.94 kB / 0.8446 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.5107, allocations: 191.2 kB / 0.8448 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/0.5107, allocations: 0 / 0.8448 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.5501, allocations: 11.56 MB / 0.8561 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.929, allocations: 13.12 kB / 0.8561 GB, free: 2.156 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.600304329302162] Failed to read output from testmodel.py, exit status != 0: 9.010626543313265 9.022909701 8.535126269 Calling exit ...