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.001295/0.001295, allocations: 106.4 kB / 16.45 MB, free: 6.504 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.001823/0.001823, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.652/2.652, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.002056/0.002056, allocations: 71.89 kB / 1.104 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7554, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002585/0.758, allocations: 1.454 MB / 1.27 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004592/0.7626, allocations: 2.921 MB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.7627, allocations: 4 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.7627, allocations: 3.938 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.7628, allocations: 19.84 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.7669, allocations: 1.574 MB / 1.275 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.767, allocations: 43.73 kB / 1.275 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.7671, allocations: 7.984 kB / 1.275 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.7671, allocations: 15.92 kB / 1.275 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.7671, allocations: 27.81 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.7671, allocations: 0 / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.7696, allocations: 1.572 MB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.7696, allocations: 0 / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.7697, allocations: 19.88 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.7713, allocations: 1.122 MB / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7713, allocations: 0 / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7714, allocations: 0 / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.7714, allocations: 0 / 1.277 GB, free: 12.4 MB / 0.9825 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.0006594/0.772, allocations: 0.5402 MB / 1.278 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7721, allocations: 12.03 kB / 1.278 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.7721, allocations: 110 kB / 1.278 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.7722, allocations: 80.17 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.7724, allocations: 247.6 kB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.7724, allocations: 154.9 kB / 1.279 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.7725, allocations: 154.9 kB / 1.279 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/0.7726, allocations: 112.8 kB / 1.279 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.7726, allocations: 75.28 kB / 1.279 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.7727, allocations: 150.6 kB / 1.279 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.7727, allocations: 150.6 kB / 1.279 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.7728, allocations: 154.6 kB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.7731, allocations: 473.8 kB / 1.28 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.7732, allocations: 177 kB / 1.28 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.7733, allocations: 80.14 kB / 1.28 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.7733, allocations: 79.22 kB / 1.28 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.7734, allocations: 109.8 kB / 1.28 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7734, allocations: 0 / 1.28 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.257e-05/0.7735, allocations: 29.7 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7735, allocations: 126.7 kB / 1.28 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.7737, allocations: 143.4 kB / 1.28 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7737, allocations: 29.64 kB / 1.28 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.7737, allocations: 96.12 kB / 1.281 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.7738, allocations: 0 / 1.281 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.7738, allocations: 17.72 kB / 1.281 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7739, allocations: 322.8 kB / 1.281 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.774, allocations: 4 kB / 1.281 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.774, allocations: 8.031 kB / 1.281 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.774, allocations: 8.859 kB / 1.281 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.774, allocations: 0 / 1.281 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001351/0.7741, allocations: 61.58 kB / 1.281 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7742, allocations: 4 kB / 1.281 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.7742, allocations: 4.062 kB / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7742, allocations: 4 kB / 1.281 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.7742, allocations: 3.938 kB / 1.281 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.7742, allocations: 3.938 kB / 1.281 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.7742, allocations: 4 kB / 1.281 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7742, allocations: 0 / 1.281 GB, free: 8.492 MB / 0.9825 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.0001039/0.7743, allocations: 184.3 kB / 1.281 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.7744, allocations: 120.9 kB / 1.281 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.7745, allocations: 112.9 kB / 1.281 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.689e-05/0.7745, allocations: 188.2 kB / 1.282 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.382e-05/0.7746, allocations: 176.3 kB / 1.282 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/0.7747, allocations: 184.2 kB / 1.282 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.775, allocations: 417.2 kB / 1.282 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.775, allocations: 109 kB / 1.282 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.7751, allocations: 108.9 kB / 1.283 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.909e-05/0.7751, allocations: 176.3 kB / 1.283 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/0.7752, allocations: 184.2 kB / 1.283 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.828e-05/0.7753, allocations: 176.3 kB / 1.283 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.539e-05/0.7753, allocations: 184.2 kB / 1.283 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.7755, allocations: 311.7 kB / 1.283 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.7756, allocations: 186 kB / 1.284 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.7757, allocations: 180.3 kB / 1.284 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.7758, allocations: 104.9 kB / 1.284 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7758, allocations: 188.2 kB / 1.284 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.7759, allocations: 109 kB / 1.284 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.306e-05/0.776, allocations: 101 kB / 1.284 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.776, allocations: 0 / 1.284 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008441/0.7768, allocations: 291 kB / 1.285 GB, free: 4.559 MB / 0.9825 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.001461/0.7783, allocations: 1.178 MB / 1.286 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.7784, allocations: 41.69 kB / 1.286 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7784, allocations: 0 / 1.286 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.7784, allocations: 0 / 1.286 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7788, allocations: 467.7 kB / 1.286 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.7804, allocations: 1.61 MB / 1.288 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.7807, allocations: 0.6846 MB / 1.288 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.613e-05/0.7807, allocations: 32 / 1.288 GB, free: 456 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.7807, allocations: 23.38 kB / 1.288 GB, free: 432 kB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.7807, allocations: 0 / 1.288 GB, free: 432 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.8137, allocations: 7.105 MB / 1.295 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.928, allocations: 13.62 kB / 1.295 GB, free: 9.527 MB / 0.9981 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 14.573461133055389] Failed to read output from testmodel.py, exit status != 0: 9.001242092810571 9.023552006 8.24782011 Calling exit ...