Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001406/0.001406, allocations: 121.4 kB / 17.17 MB, free: 5.977 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.001412/0.001412, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002721/0.002721, allocations: 288.8 kB / 309.8 MB, free: 3.445 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003076/0.003076, allocations: 104.2 kB / 0.7348 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4876, allocations: 95.34 MB / 0.8279 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002273/0.4899, allocations: 1.449 MB / 0.8293 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.4936, allocations: 2.941 MB / 0.8321 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.4936, allocations: 0 / 0.8321 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.4936, allocations: 5.672 kB / 0.8322 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.4937, allocations: 20.14 kB / 0.8322 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.4981, allocations: 1.612 MB / 0.8337 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4982, allocations: 38.48 kB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.4982, allocations: 2.188 kB / 0.8338 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.4982, allocations: 21.06 kB / 0.8338 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.4983, allocations: 17.81 kB / 0.8338 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.4983, allocations: 0 / 0.8338 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.501, allocations: 1.554 MB / 0.8353 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.501, allocations: 3.797 kB / 0.8353 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.5011, allocations: 19.17 kB / 0.8354 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.5029, allocations: 1.103 MB / 0.8364 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5029, allocations: 0 / 0.8364 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5029, allocations: 0.75 kB / 0.8364 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.5029, allocations: 7.938 kB / 0.8364 GB, free: 14.33 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008258/0.5038, allocations: 0.5314 MB / 0.837 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5038, allocations: 7.844 kB / 0.837 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.491e-05/0.5039, allocations: 79.45 kB / 0.8371 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.5039, allocations: 113.8 kB / 0.8372 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.504, allocations: 80.17 kB / 0.8372 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.5042, allocations: 253.4 kB / 0.8375 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.5043, allocations: 154.9 kB / 0.8376 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5044, allocations: 158.7 kB / 0.8378 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.5045, allocations: 105.7 kB / 0.8379 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.5045, allocations: 75.28 kB / 0.838 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5046, allocations: 150.6 kB / 0.8381 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/0.5047, allocations: 158.5 kB / 0.8382 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.5048, allocations: 154.7 kB / 0.8384 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.5051, allocations: 467.9 kB / 0.8388 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.5052, allocations: 173.7 kB / 0.839 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.5053, allocations: 88.08 kB / 0.8391 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.5053, allocations: 75.89 kB / 0.8392 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5054, allocations: 113.2 kB / 0.8393 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.5054, allocations: 0 / 0.8393 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.128e-05/0.5054, allocations: 35.19 kB / 0.8393 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.5055, allocations: 128.7 kB / 0.8394 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5057, allocations: 127 kB / 0.8395 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5057, allocations: 34.05 kB / 0.8396 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.5057, allocations: 89.64 kB / 0.8397 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.5057, allocations: 0 / 0.8397 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.5058, allocations: 15.31 kB / 0.8397 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5059, allocations: 324 kB / 0.84 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.5059, allocations: 3.344 kB / 0.84 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.506, allocations: 7.938 kB / 0.84 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.506, allocations: 8.938 kB / 0.84 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.506, allocations: 4.938 kB / 0.84 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001248/0.5061, allocations: 53.48 kB / 0.8401 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5061, allocations: 6.438 kB / 0.8401 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.5061, allocations: 7.969 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5062, allocations: 1.125 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5062, allocations: 0 / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.5062, allocations: 0 / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.5062, allocations: 3.953 kB / 0.8401 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5062, allocations: 6.969 kB / 0.8401 GB, free: 10.57 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001097/0.5063, allocations: 194 kB / 0.8403 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5064, allocations: 105.4 kB / 0.8404 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.5065, allocations: 114.5 kB / 0.8405 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001327/0.5066, allocations: 181.3 kB / 0.8407 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-05/0.5067, allocations: 177.6 kB / 0.8408 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/0.5068, allocations: 180.2 kB / 0.841 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.507, allocations: 421 kB / 0.8414 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-05/0.5071, allocations: 105.9 kB / 0.8415 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.5072, allocations: 104.9 kB / 0.8416 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-05/0.5072, allocations: 177.3 kB / 0.8418 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.5074, allocations: 181.1 kB / 0.8419 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-05/0.5075, allocations: 182.1 kB / 0.8421 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.501e-05/0.5075, allocations: 181.3 kB / 0.8423 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.5077, allocations: 314.9 kB / 0.8426 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.5078, allocations: 192.8 kB / 0.8428 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.5079, allocations: 178.8 kB / 0.8429 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.508, allocations: 112.8 kB / 0.843 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.5081, allocations: 181.2 kB / 0.8432 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.5081, allocations: 101 kB / 0.8433 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.5082, allocations: 99.47 kB / 0.8434 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5082, allocations: 0 / 0.8434 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009608/0.5091, allocations: 294.4 kB / 0.8437 GB, free: 6.926 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.001488/0.5106, allocations: 1.175 MB / 0.8448 GB, free: 6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5107, allocations: 39.72 kB / 0.8449 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5108, allocations: 64 / 0.8449 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.5108, allocations: 4 kB / 0.8449 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5112, allocations: 461.7 kB / 0.8453 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5128, allocations: 1.596 MB / 0.8469 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5131, allocations: 0.6867 MB / 0.8476 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.5131, allocations: 0 / 0.8476 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.5131, allocations: 16.84 kB / 0.8476 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5131, allocations: 0 / 0.8476 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.5437, allocations: 7.194 MB / 0.8546 GB, free: 2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.906, allocations: 27.27 kB / 0.8546 GB, free: 1.98 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.786537373962346] Failed to read output from testmodel.py, exit status != 0: 9.035771510971244 9.05788436 8.550674182 Calling exit ...