Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001409/0.001409, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001418/0.001418, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 75.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7637, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002088/0.7658, allocations: 1.475 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.7692, allocations: 2.92 MB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.7693, allocations: 0 / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.7693, allocations: 6.75 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.7694, allocations: 19.22 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.7726, allocations: 1.59 MB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.7727, allocations: 38.39 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.7728, allocations: 10.28 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.7728, allocations: 13.7 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.7728, allocations: 16.31 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.7728, allocations: 1.594 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.775, allocations: 1.581 MB / 1.279 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.775, allocations: 7.344 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.775, allocations: 16.59 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.7767, allocations: 1.118 MB / 1.28 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7767, allocations: 0.6562 kB / 1.28 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7767, allocations: 0.7188 kB / 1.28 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7767, allocations: 0 / 1.28 GB, free: 3.051 MB / 0.9981 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.0005223/0.7772, allocations: 0.53 MB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.7772, allocations: 8.25 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.7773, allocations: 119.2 kB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.7773, allocations: 88.05 kB / 1.281 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.7774, allocations: 246 kB / 1.281 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.7774, allocations: 154.9 kB / 1.281 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.7774, allocations: 151.7 kB / 1.281 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.698e-05/0.7775, allocations: 104.9 kB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7775, allocations: 82.16 kB / 1.281 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.7775, allocations: 151.1 kB / 1.282 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.7775, allocations: 150.6 kB / 1.282 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.7775, allocations: 158.5 kB / 1.282 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.7777, allocations: 470.9 kB / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.579e-05/0.7777, allocations: 169.1 kB / 1.283 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.7778, allocations: 84.94 kB / 1.283 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.7778, allocations: 81.69 kB / 1.283 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.7778, allocations: 105.8 kB / 1.283 GB, free: 188 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7778, allocations: 0 / 1.283 GB, free: 188 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.024e-05/0.7778, allocations: 36.53 kB / 1.283 GB, free: 148 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.7779, allocations: 129 kB / 1.283 GB, free: 8 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.778, allocations: 142.2 kB / 1.283 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.778, allocations: 26.31 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.7781, allocations: 88.12 kB / 1.283 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.7781, allocations: 0 / 1.283 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.7781, allocations: 20.11 kB / 1.283 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7782, allocations: 323.6 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.7783, allocations: 2.234 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.7783, allocations: 6.094 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.7783, allocations: 16.11 kB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7783, allocations: 3.938 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.7784, allocations: 52.17 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7784, allocations: 9.469 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.7785, allocations: 6.016 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7785, allocations: 0 / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.7785, allocations: 0.6094 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.7785, allocations: 4.062 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.7785, allocations: 3.984 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.7785, allocations: 2.734 kB / 1.284 GB, free: 15.36 MB / 1.014 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 9.367e-05/0.7786, allocations: 187.1 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.7787, allocations: 125.5 kB / 1.284 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.7787, allocations: 107.4 kB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/0.7788, allocations: 183.2 kB / 1.284 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.7789, allocations: 185.1 kB / 1.284 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/0.7789, allocations: 179.2 kB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.7792, allocations: 420.9 kB / 1.285 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-05/0.7792, allocations: 101.6 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.7793, allocations: 102.6 kB / 1.285 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.849e-05/0.7793, allocations: 186.9 kB / 1.285 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.7794, allocations: 181.5 kB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.875e-05/0.7795, allocations: 186 kB / 1.286 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-05/0.7795, allocations: 178 kB / 1.286 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.7797, allocations: 318 kB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.7798, allocations: 183.5 kB / 1.286 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.7798, allocations: 181.3 kB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.7799, allocations: 101.5 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.78, allocations: 179.8 kB / 1.287 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.78, allocations: 105.5 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.7801, allocations: 107.1 kB / 1.287 GB, free: 11.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7801, allocations: 1.094 kB / 1.287 GB, free: 11.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008059/0.7809, allocations: 289 kB / 1.287 GB, free: 11.71 MB / 1.014 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.001285/0.7822, allocations: 1.188 MB / 1.288 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.484e-05/0.7823, allocations: 38.95 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7823, allocations: 1.969 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.7823, allocations: 4.562 kB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.7827, allocations: 461.9 kB / 1.289 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.784, allocations: 1.611 MB / 1.29 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.7843, allocations: 0.6868 MB / 1.291 GB, free: 8.141 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.7843, allocations: 0 / 1.291 GB, free: 8.141 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.7843, allocations: 18.5 kB / 1.291 GB, free: 8.125 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7843, allocations: 0 / 1.291 GB, free: 8.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.8165, allocations: 7.03 MB / 1.298 GB, free: 7.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/8.252, allocations: 8.438 kB / 1.298 GB, free: 7.387 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.5573268510052]