Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.00183/0.00183, allocations: 114.8 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.001948/0.001948, allocations: 210.2 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.914/2.914, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.002201/0.002201, allocations: 71.91 kB / 1.15 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.896, allocations: 176.1 MB / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002173/0.8981, allocations: 1.469 MB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.9013, allocations: 2.977 MB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.9014, allocations: 2.781 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.9014, allocations: 7.078 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.9015, allocations: 11.3 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.905, allocations: 1.633 MB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.9051, allocations: 46.03 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.9051, allocations: 1.562 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.9052, allocations: 20.94 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.9052, allocations: 15.31 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.9052, allocations: 5.406 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.9079, allocations: 1.602 MB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.9079, allocations: 6.156 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.908, allocations: 16.8 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.9099, allocations: 1.139 MB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9099, allocations: 0 / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9099, allocations: 0 / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9099, allocations: 4.609 kB / 1.33 GB, free: 19.96 MB / 1.061 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.0007253/0.9107, allocations: 0.5347 MB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9107, allocations: 9.469 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.483e-05/0.9107, allocations: 80.81 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.9108, allocations: 114.6 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.9108, allocations: 85.7 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.9109, allocations: 255.5 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.911, allocations: 154.9 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.911, allocations: 154.7 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.605e-05/0.911, allocations: 102.8 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.911, allocations: 75.28 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.9111, allocations: 151.8 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.9111, allocations: 155.1 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.9111, allocations: 163.5 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.9113, allocations: 461.8 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.9114, allocations: 174.9 kB / 1.333 GB, free: 17.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.9114, allocations: 88.08 kB / 1.333 GB, free: 17.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.9114, allocations: 76.16 kB / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.9114, allocations: 111.1 kB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.9114, allocations: 0 / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.079e-05/0.9115, allocations: 33.38 kB / 1.333 GB, free: 16.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.9115, allocations: 127.3 kB / 1.333 GB, free: 16.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.9117, allocations: 138 kB / 1.333 GB, free: 16.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.9117, allocations: 26.7 kB / 1.333 GB, free: 16.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.9117, allocations: 95.59 kB / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.9117, allocations: 0 / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.9117, allocations: 17.02 kB / 1.334 GB, free: 16.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.9118, allocations: 319.3 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.9118, allocations: 3.297 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.9118, allocations: 3.625 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.9119, allocations: 24.91 kB / 1.334 GB, free: 16.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9119, allocations: 0 / 1.334 GB, free: 16.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001259/0.912, allocations: 53.69 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.912, allocations: 4.781 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.912, allocations: 4.625 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.9121, allocations: 0.7031 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.9121, allocations: 0 / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.9121, allocations: 5.844 kB / 1.334 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.9121, allocations: 7.891 kB / 1.334 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.9121, allocations: 2 kB / 1.334 GB, free: 16.18 MB / 1.061 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 5.856e-05/0.9122, allocations: 196 kB / 1.334 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.9122, allocations: 107.8 kB / 1.334 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.9122, allocations: 112.5 kB / 1.334 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.9122, allocations: 178.8 kB / 1.335 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/0.9123, allocations: 185 kB / 1.335 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.9123, allocations: 181.6 kB / 1.335 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.9124, allocations: 422.5 kB / 1.335 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.9125, allocations: 101.7 kB / 1.335 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.9125, allocations: 106.5 kB / 1.335 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/0.9125, allocations: 181.9 kB / 1.336 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.9125, allocations: 177.8 kB / 1.336 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.226e-05/0.9125, allocations: 189.9 kB / 1.336 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/0.9126, allocations: 178.5 kB / 1.336 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.457e-05/0.9126, allocations: 315.2 kB / 1.336 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.9127, allocations: 185.3 kB / 1.337 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.9127, allocations: 186.1 kB / 1.337 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.9128, allocations: 102.9 kB / 1.337 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.9128, allocations: 181.9 kB / 1.337 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.9128, allocations: 102.6 kB / 1.337 GB, free: 12.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.9128, allocations: 103.5 kB / 1.337 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9128, allocations: 1.125 kB / 1.337 GB, free: 12.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009758/0.9138, allocations: 293.6 kB / 1.338 GB, free: 12.54 MB / 1.061 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.001297/0.9151, allocations: 1.204 MB / 1.339 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.9152, allocations: 34.78 kB / 1.339 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9152, allocations: 0 / 1.339 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.9152, allocations: 1.031 kB / 1.339 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.9155, allocations: 465.2 kB / 1.339 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.9167, allocations: 1.611 MB / 1.341 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.9168, allocations: 0.6831 MB / 1.341 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.472e-05/0.9168, allocations: 0.7188 kB / 1.341 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.9168, allocations: 18.45 kB / 1.341 GB, free: 8.953 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.9168, allocations: 0.9688 kB / 1.341 GB, free: 8.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.9463, allocations: 7.369 MB / 1.349 GB, free: 8.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/9.472, allocations: 8.719 kB / 1.349 GB, free: 8.188 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.74223334598355] Failed to read output from testmodel.py, exit status != 0: 9.598736063984688 9.611914959 8.699173333 Calling exit ...