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.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.001694/0.001694, allocations: 118.9 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.001916/0.001916, 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002007/0.002007, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.9575, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002762/0.9602, allocations: 1.444 MB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004896/0.9651, allocations: 2.95 MB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.9652, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.9652, allocations: 5.203 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.9653, allocations: 16.38 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005113/0.9704, allocations: 1.621 MB / 1.285 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.9705, allocations: 45.28 kB / 1.285 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.9706, allocations: 2.141 kB / 1.285 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.9706, allocations: 13.38 kB / 1.285 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.9706, allocations: 17.31 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.9706, allocations: 5.703 kB / 1.285 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.9738, allocations: 1.555 MB / 1.287 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.9738, allocations: 12.45 kB / 1.287 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.9738, allocations: 11.03 kB / 1.287 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.9761, allocations: 1.107 MB / 1.288 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9761, allocations: 1.219 kB / 1.288 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9761, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9761, allocations: 0 / 1.288 GB, free: 7.035 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.0008363/0.9769, allocations: 0.5338 MB / 1.288 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.977, allocations: 10.09 kB / 1.288 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.876e-05/0.977, allocations: 79.47 kB / 1.288 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.9771, allocations: 106.7 kB / 1.288 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.9772, allocations: 82.66 kB / 1.288 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.9774, allocations: 249.8 kB / 1.289 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.9775, allocations: 160.1 kB / 1.289 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.9775, allocations: 158.7 kB / 1.289 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.9776, allocations: 102.9 kB / 1.289 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.9777, allocations: 75.28 kB / 1.289 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.9777, allocations: 150.6 kB / 1.289 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/0.9778, allocations: 152 kB / 1.289 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.9779, allocations: 151.4 kB / 1.29 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.9783, allocations: 476.2 kB / 1.29 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.9784, allocations: 171 kB / 1.29 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.9784, allocations: 89.33 kB / 1.29 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.9785, allocations: 75.28 kB / 1.29 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.9785, allocations: 111.4 kB / 1.29 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9785, allocations: 0 / 1.29 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.28e-05/0.9786, allocations: 32.91 kB / 1.29 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.9787, allocations: 128.5 kB / 1.291 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.9789, allocations: 136.8 kB / 1.291 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9789, allocations: 25.7 kB / 1.291 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.979, allocations: 88.52 kB / 1.291 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.979, allocations: 0 / 1.291 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.979, allocations: 23.31 kB / 1.291 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9792, allocations: 315 kB / 1.291 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.9792, allocations: 11.39 kB / 1.291 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.9792, allocations: 3.109 kB / 1.291 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.9793, allocations: 11.12 kB / 1.291 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9793, allocations: 0 / 1.291 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.9794, allocations: 53.56 kB / 1.291 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9794, allocations: 5.125 kB / 1.291 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.9794, allocations: 7.094 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9794, allocations: 2.484 kB / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.9794, allocations: 48 / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.9795, allocations: 0 / 1.291 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.9795, allocations: 12.59 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.9795, allocations: 2.109 kB / 1.291 GB, free: 3.277 MB / 0.9981 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.0001251/0.9796, allocations: 194.5 kB / 1.291 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.9797, allocations: 108.2 kB / 1.292 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.9798, allocations: 116.6 kB / 1.292 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-05/0.9798, allocations: 178.2 kB / 1.292 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.712e-05/0.9799, allocations: 182.1 kB / 1.292 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.118e-05/0.98, allocations: 182 kB / 1.292 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.9803, allocations: 420.4 kB / 1.293 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/0.9803, allocations: 110.9 kB / 1.293 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.9804, allocations: 102.7 kB / 1.293 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.142e-05/0.9805, allocations: 186.3 kB / 1.293 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.9806, allocations: 177.1 kB / 1.293 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-05/0.9806, allocations: 182.3 kB / 1.293 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.193e-05/0.9807, allocations: 186.4 kB / 1.293 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.9809, allocations: 314.5 kB / 1.294 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.981, allocations: 184.3 kB / 1.294 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.9811, allocations: 179 kB / 1.294 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.9812, allocations: 106.9 kB / 1.294 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9813, allocations: 182.5 kB / 1.294 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.9813, allocations: 105.4 kB / 1.294 GB, free: 15.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.593e-05/0.9814, allocations: 103.1 kB / 1.295 GB, free: 15.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9814, allocations: 0 / 1.295 GB, free: 15.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001227/0.9826, allocations: 290.2 kB / 1.295 GB, free: 15.62 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.001847/0.9845, allocations: 1.176 MB / 1.296 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.9846, allocations: 42.02 kB / 1.296 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9846, allocations: 0 / 1.296 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.9846, allocations: 1.125 kB / 1.296 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.9851, allocations: 465.7 kB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.9871, allocations: 1.591 MB / 1.298 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.9874, allocations: 0.6817 MB / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.344e-05/0.9875, allocations: 0.5156 kB / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.9875, allocations: 15.7 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/0.9875, allocations: 4.031 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/1.017, allocations: 7.189 MB / 1.306 GB, free: 11.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/9.563, allocations: 8.922 kB / 1.306 GB, free: 11.28 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.827515051991213] Failed to read output from testmodel.py, exit status != 0: 9.69129399996018 9.717264913 8.736297523 Calling exit ...