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.InternalResistancesOneUTube.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.001325/0.001325, allocations: 102.7 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.001395/0.001395, 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.433/1.433, 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/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.721/2.721, allocations: 476.7 MB / 0.7611 GB, free: 15.7 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.88 kB / 1.104 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8838/0.8859, allocations: 168.7 MB / 1.269 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002623/0.8885, allocations: 1.437 MB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003867/0.8924, allocations: 2.875 MB / 1.273 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.8924, allocations: 0 / 1.273 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.8925, allocations: 6.562 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.8925, allocations: 15.09 kB / 1.273 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.8963, allocations: 1.569 MB / 1.275 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.8963, allocations: 44.25 kB / 1.275 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.8964, allocations: 3.312 kB / 1.275 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.8964, allocations: 16.12 kB / 1.275 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.051e-05/0.8965, allocations: 18.86 kB / 1.275 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.8965, allocations: 0.875 kB / 1.275 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.8986, allocations: 1.527 MB / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.8986, allocations: 12.98 kB / 1.276 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.8986, allocations: 19.25 kB / 1.276 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.9002, allocations: 1.084 MB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9002, allocations: 0 / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9002, allocations: 1.062 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.9002, allocations: 0 / 1.277 GB, free: 3.129 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.0005302/0.9007, allocations: 0.5271 MB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.9007, allocations: 9.531 kB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.9008, allocations: 110.6 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.9008, allocations: 82.8 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.9009, allocations: 257.4 kB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.9009, allocations: 159.5 kB / 1.278 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.9009, allocations: 152.1 kB / 1.278 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.659e-05/0.901, allocations: 106.2 kB / 1.279 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.901, allocations: 75.28 kB / 1.279 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.901, allocations: 155.6 kB / 1.279 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.901, allocations: 151.2 kB / 1.279 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.901, allocations: 152.1 kB / 1.279 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.9012, allocations: 464.8 kB / 1.28 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.9013, allocations: 171.1 kB / 1.28 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.9013, allocations: 80.14 kB / 1.28 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.9013, allocations: 79.22 kB / 1.28 GB, free: 396 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9013, allocations: 111.7 kB / 1.28 GB, free: 276 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9013, allocations: 0 / 1.28 GB, free: 276 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.205e-05/0.9014, allocations: 37.02 kB / 1.28 GB, free: 236 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.9014, allocations: 132.4 kB / 1.28 GB, free: 92 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.9015, allocations: 128 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.9016, allocations: 30.48 kB / 1.28 GB, free: 15.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.9016, allocations: 95.41 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.9016, allocations: 1.094 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.9016, allocations: 15.06 kB / 1.28 GB, free: 15.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9018, allocations: 318.9 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.9018, allocations: 3.375 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.9018, allocations: 11.47 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.9019, allocations: 11.27 kB / 1.281 GB, free: 15.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.9019, allocations: 0.875 kB / 1.281 GB, free: 15.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.902, allocations: 57.36 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.902, allocations: 5.469 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.902, allocations: 3.094 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9021, allocations: 4.734 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-07/0.9021, allocations: 0 / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.9021, allocations: 0.5312 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.9021, allocations: 1.922 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.9021, allocations: 5.344 kB / 1.281 GB, free: 15.45 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 0.000118/0.9022, allocations: 184 kB / 1.281 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.9023, allocations: 115.8 kB / 1.281 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.9024, allocations: 117.2 kB / 1.281 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.963e-05/0.9024, allocations: 181.9 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.532e-05/0.9025, allocations: 181.8 kB / 1.282 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-05/0.9026, allocations: 182 kB / 1.282 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.9029, allocations: 417.3 kB / 1.282 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/0.903, allocations: 106.2 kB / 1.282 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.903, allocations: 102.6 kB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-05/0.9031, allocations: 181.9 kB / 1.282 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/0.9032, allocations: 181.9 kB / 1.283 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.781e-05/0.9033, allocations: 181.8 kB / 1.283 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.944e-05/0.9034, allocations: 182.1 kB / 1.283 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.9035, allocations: 314.7 kB / 1.283 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.9036, allocations: 185.8 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.9037, allocations: 186.5 kB / 1.284 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.9038, allocations: 105.6 kB / 1.284 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.9039, allocations: 179.1 kB / 1.284 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.904, allocations: 110.2 kB / 1.284 GB, free: 11.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.904, allocations: 98.36 kB / 1.284 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.904, allocations: 4.906 kB / 1.284 GB, free: 11.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009586/0.905, allocations: 288.1 kB / 1.284 GB, free: 11.8 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.001381/0.9064, allocations: 1.158 MB / 1.286 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.875e-05/0.9065, allocations: 45.31 kB / 1.286 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9065, allocations: 0 / 1.286 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.9065, allocations: 0 / 1.286 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.9069, allocations: 461.6 kB / 1.286 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.9084, allocations: 1.602 MB / 1.288 GB, free: 8.941 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.9087, allocations: 0.6857 MB / 1.288 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.182e-05/0.9087, allocations: 1.125 kB / 1.288 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.9087, allocations: 13.77 kB / 1.288 GB, free: 8.23 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9087, allocations: 0.9062 kB / 1.288 GB, free: 8.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.94, allocations: 6.911 MB / 1.295 GB, free: 7.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.161, allocations: 7.656 kB / 1.295 GB, free: 7.504 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.059878776781261] Failed to read output from testmodel.py, exit status != 0: 9.231142855715007 9.247210454 8.343683507 Calling exit ...