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.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.001242/0.001242, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002148/0.002148, allocations: 215 kB / 20.13 MB, free: 2.949 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.708/2.708, allocations: 476.7 MB / 0.7678 GB, free: 9.5 MB / 0.6075 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",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="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.00212/0.00212, allocations: 71.89 kB / 1.113 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8656, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002939/0.8685, allocations: 1.452 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005262/0.8738, allocations: 2.983 MB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.8739, allocations: 3.938 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.8739, allocations: 6 kB / 1.283 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/0.874, allocations: 16.36 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.879, allocations: 1.659 MB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.8792, allocations: 45.56 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.8792, allocations: 3.453 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.8792, allocations: 14.2 kB / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.8793, allocations: 18.41 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.8793, allocations: 1.344 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.8823, allocations: 1.596 MB / 1.287 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.8823, allocations: 5.625 kB / 1.287 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.8823, allocations: 24.66 kB / 1.287 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.8845, allocations: 1.134 MB / 1.288 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8845, allocations: 0 / 1.288 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8845, allocations: 1.312 kB / 1.288 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8845, allocations: 0 / 1.288 GB, free: 6.945 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.0008577/0.8854, allocations: 0.5385 MB / 1.288 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8854, allocations: 10.05 kB / 1.288 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.807e-05/0.8854, allocations: 76.5 kB / 1.288 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.8855, allocations: 114 kB / 1.288 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.8856, allocations: 82.73 kB / 1.289 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.8858, allocations: 257 kB / 1.289 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.8858, allocations: 158.9 kB / 1.289 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.8859, allocations: 159.9 kB / 1.289 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.886, allocations: 101.8 kB / 1.289 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.886, allocations: 80.84 kB / 1.289 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.8861, allocations: 150.6 kB / 1.289 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/0.8861, allocations: 150.6 kB / 1.29 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.8862, allocations: 156.6 kB / 1.29 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.8865, allocations: 466 kB / 1.29 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.8866, allocations: 173.1 kB / 1.29 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.8866, allocations: 85.39 kB / 1.29 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.8867, allocations: 79.28 kB / 1.29 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.8867, allocations: 107.9 kB / 1.291 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.8867, allocations: 0 / 1.291 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.082e-05/0.8868, allocations: 41.03 kB / 1.291 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.8869, allocations: 126.7 kB / 1.291 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.887, allocations: 137.8 kB / 1.291 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8871, allocations: 25.7 kB / 1.291 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.8871, allocations: 88.67 kB / 1.291 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.8871, allocations: 0 / 1.291 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.8872, allocations: 20.75 kB / 1.291 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8873, allocations: 318.5 kB / 1.291 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.8873, allocations: 7.297 kB / 1.291 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.8873, allocations: 4.734 kB / 1.291 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.8874, allocations: 19 kB / 1.291 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8874, allocations: 0 / 1.291 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.8875, allocations: 57.66 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8875, allocations: 7.953 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.8875, allocations: 3.781 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8876, allocations: 0 / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.8876, allocations: 2.266 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.8876, allocations: 4.062 kB / 1.291 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.8876, allocations: 5.094 kB / 1.291 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8876, allocations: 1.188 kB / 1.291 GB, free: 3.172 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.0001153/0.8877, allocations: 187.7 kB / 1.292 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.8878, allocations: 113.5 kB / 1.292 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.8878, allocations: 112.1 kB / 1.292 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/0.8879, allocations: 178.4 kB / 1.292 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.68e-05/0.888, allocations: 190.2 kB / 1.292 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-05/0.8881, allocations: 177 kB / 1.292 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.8883, allocations: 417.9 kB / 1.293 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.8884, allocations: 105.4 kB / 1.293 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.8884, allocations: 103.7 kB / 1.293 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.8885, allocations: 186.1 kB / 1.293 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/0.8886, allocations: 178.2 kB / 1.293 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.718e-05/0.8886, allocations: 184.8 kB / 1.293 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.469e-05/0.8887, allocations: 182.2 kB / 1.294 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.8889, allocations: 315 kB / 1.294 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.889, allocations: 188.8 kB / 1.294 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.8891, allocations: 179.4 kB / 1.294 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.8892, allocations: 106 kB / 1.294 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.8892, allocations: 178.1 kB / 1.295 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.8893, allocations: 106.8 kB / 1.295 GB, free: 15.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.8894, allocations: 105 kB / 1.295 GB, free: 15.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.8894, allocations: 0 / 1.295 GB, free: 15.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001123/0.8905, allocations: 295.2 kB / 1.295 GB, free: 15.52 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.001681/0.8922, allocations: 1.195 MB / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.8923, allocations: 42.77 kB / 1.296 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8923, allocations: 0 / 1.296 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.8923, allocations: 1.312 kB / 1.296 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.8927, allocations: 469.2 kB / 1.297 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.8944, allocations: 1.623 MB / 1.298 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.8946, allocations: 0.6871 MB / 1.299 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.8947, allocations: 3.906 kB / 1.299 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.8947, allocations: 14.28 kB / 1.299 GB, free: 11.92 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.8947, allocations: 1.5 kB / 1.299 GB, free: 11.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.9243, allocations: 7.374 MB / 1.306 GB, free: 11.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.549, allocations: 14.52 kB / 1.306 GB, free: 11.14 MB / 1.014 GB " [Timeout remaining time 290] (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: 15.514857872040011] Failed to read output from testmodel.py, exit status != 0: 9.679926389013417 9.704577273 8.815476056 Calling exit ...