Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001887/0.001887, 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.002266/0.002266, 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.494/1.494, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.918/2.918, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00198/0.00198, allocations: 75.88 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9606, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002483/0.9631, allocations: 1.464 MB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.9671, allocations: 2.98 MB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.9671, allocations: 1.375 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.9671, allocations: 6.234 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.9672, allocations: 15.16 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.9711, allocations: 1.639 MB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.9712, allocations: 46.42 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.9712, allocations: 6.922 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.9713, allocations: 25.05 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.9713, allocations: 15.14 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.9713, allocations: 2.188 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.9737, allocations: 1.603 MB / 1.348 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.9737, allocations: 7.547 kB / 1.348 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.9737, allocations: 19.92 kB / 1.348 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.9755, allocations: 1.131 MB / 1.349 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9755, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9755, allocations: 3.938 kB / 1.349 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9755, allocations: 7.938 kB / 1.349 GB, free: 11.5 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.0006132/0.9761, allocations: 0.5318 MB / 1.349 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.9761, allocations: 9.531 kB / 1.35 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.613e-05/0.9762, allocations: 83.41 kB / 1.35 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.9762, allocations: 108.4 kB / 1.35 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.9762, allocations: 81.98 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/0.9763, allocations: 253.7 kB / 1.35 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.9763, allocations: 158.9 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.9764, allocations: 156.5 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.999e-05/0.9764, allocations: 101 kB / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9764, allocations: 76.41 kB / 1.35 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.9764, allocations: 155.2 kB / 1.351 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.9765, allocations: 155.8 kB / 1.351 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.9765, allocations: 154.6 kB / 1.351 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.9767, allocations: 467 kB / 1.351 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.9767, allocations: 169.8 kB / 1.352 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.9767, allocations: 89.52 kB / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.9768, allocations: 79.22 kB / 1.352 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9768, allocations: 107.8 kB / 1.352 GB, free: 8.559 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9768, allocations: 0 / 1.352 GB, free: 8.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.805e-05/0.9768, allocations: 33 kB / 1.352 GB, free: 8.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.9769, allocations: 127.3 kB / 1.352 GB, free: 8.387 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.977, allocations: 133 kB / 1.352 GB, free: 8.277 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.977, allocations: 30.7 kB / 1.352 GB, free: 8.242 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.977, allocations: 95.89 kB / 1.352 GB, free: 8.148 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.977, allocations: 0 / 1.352 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.977, allocations: 17.55 kB / 1.352 GB, free: 8.133 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.9771, allocations: 318.1 kB / 1.353 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.9771, allocations: 3.688 kB / 1.353 GB, free: 7.816 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.9771, allocations: 11.92 kB / 1.353 GB, free: 7.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.9772, allocations: 15.3 kB / 1.353 GB, free: 7.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9772, allocations: 4.812 kB / 1.353 GB, free: 7.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.9773, allocations: 53.95 kB / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.9773, allocations: 5.594 kB / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.9773, allocations: 7.312 kB / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.9773, allocations: 0 / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.9773, allocations: 0 / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.9773, allocations: 0.75 kB / 1.353 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.9774, allocations: 7.891 kB / 1.353 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.9774, allocations: 3.938 kB / 1.353 GB, free: 7.738 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 4.842e-05/0.9774, allocations: 192.8 kB / 1.353 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.9774, allocations: 112.3 kB / 1.353 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.9775, allocations: 108.2 kB / 1.353 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.9775, allocations: 186.4 kB / 1.353 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.9775, allocations: 178.4 kB / 1.353 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.9775, allocations: 176.9 kB / 1.354 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.9777, allocations: 421.4 kB / 1.354 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.9777, allocations: 107.4 kB / 1.354 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.9777, allocations: 105.6 kB / 1.354 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.9777, allocations: 182.5 kB / 1.354 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.9777, allocations: 177 kB / 1.354 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/0.9778, allocations: 186.4 kB / 1.355 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-05/0.9778, allocations: 182.5 kB / 1.355 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.031e-05/0.9778, allocations: 310.5 kB / 1.355 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.9779, allocations: 189.7 kB / 1.355 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.9779, allocations: 178 kB / 1.355 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.978, allocations: 106.6 kB / 1.356 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.978, allocations: 186.4 kB / 1.356 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.978, allocations: 110.8 kB / 1.356 GB, free: 4.242 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.978, allocations: 98.67 kB / 1.356 GB, free: 4.164 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.978, allocations: 0 / 1.356 GB, free: 4.164 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008718/0.9789, allocations: 294.9 kB / 1.356 GB, free: 4.09 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.001194/0.9801, allocations: 1.2 MB / 1.357 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.9802, allocations: 44.28 kB / 1.357 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9802, allocations: 0 / 1.357 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.9802, allocations: 0 / 1.357 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.9805, allocations: 461.6 kB / 1.358 GB, free: 2.668 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9816, allocations: 1.62 MB / 1.359 GB, free: 1.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.9817, allocations: 0.6832 MB / 1.36 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.9817, allocations: 0 / 1.36 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.9817, allocations: 19.09 kB / 1.36 GB, free: 0.5 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9817, allocations: 0 / 1.36 GB, free: 0.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/1.01, allocations: 7.371 MB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.568, allocations: 13.69 kB / 1.367 GB, free: 15.73 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.948630101978779] Failed to read output from testmodel.py, exit status != 0: 9.697435144975316 9.719457926 8.739849633 Calling exit ...