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.InternalResistancesOneUTube.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.001722/0.001722, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002164/0.002164, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.059/3.059, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001964/0.001964, allocations: 61.94 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002591/0.3549, allocations: 1.425 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.3594, allocations: 2.646 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.3594, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.3594, allocations: 3.938 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.3595, allocations: 19.78 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.3634, allocations: 1.619 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3635, allocations: 39.73 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3636, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.3636, allocations: 19.92 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.3636, allocations: 15.92 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3636, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.366, allocations: 1.556 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.366, allocations: 7.938 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.366, allocations: 11.94 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.3675, allocations: 1.079 MB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3675, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3676, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3676, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 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.0006471/0.3682, allocations: 472 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3682, allocations: 15.98 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.711e-05/0.3683, allocations: 79.41 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.3684, allocations: 114 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.3685, allocations: 84.17 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3686, allocations: 185.8 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.3687, allocations: 158.9 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.3688, allocations: 158.7 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.652e-05/0.3689, allocations: 101 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.3689, allocations: 79.22 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.369, allocations: 154.6 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.369, allocations: 154.5 kB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.3691, allocations: 154.6 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3694, allocations: 436.9 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.3695, allocations: 165.1 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.3696, allocations: 88.08 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3696, allocations: 79.28 kB / 1.338 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3697, allocations: 109.8 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3697, allocations: 0 / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.557e-05/0.3697, allocations: 33.66 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3698, allocations: 126.7 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.37, allocations: 131.7 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.37, allocations: 25.7 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.3701, allocations: 100.1 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.3701, allocations: 0 / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.3701, allocations: 17.72 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3703, allocations: 322.8 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.3703, allocations: 4 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.3703, allocations: 4 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.3704, allocations: 16.8 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3704, allocations: 0 / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.3705, allocations: 57.61 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3705, allocations: 4 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.3705, allocations: 4 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3706, allocations: 0 / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3706, allocations: 3.938 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.3706, allocations: 4 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.172 MB / 1.029 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.0001326/0.3707, allocations: 191.2 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.3708, allocations: 112.9 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.3709, allocations: 116.8 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.345e-05/0.371, allocations: 180.2 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.78e-05/0.371, allocations: 180.3 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/0.3711, allocations: 180.2 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.3715, allocations: 392.2 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.879e-05/0.3716, allocations: 101 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.3716, allocations: 104.9 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.854e-05/0.3717, allocations: 180.3 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/0.3718, allocations: 180.2 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.3719, allocations: 184.2 kB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.655e-05/0.372, allocations: 188.2 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3721, allocations: 311.7 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.3722, allocations: 117 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.3723, allocations: 184.2 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.3724, allocations: 105 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.3725, allocations: 180.2 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.3725, allocations: 101 kB / 1.342 GB, free: 1.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.3726, allocations: 104.5 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3726, allocations: 0 / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008132/0.3734, allocations: 291 kB / 1.342 GB, free: 1.363 MB / 1.029 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.001416/0.3748, allocations: 1.179 MB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3749, allocations: 41.69 kB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3749, allocations: 0 / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.3749, allocations: 0 / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3754, allocations: 459.7 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3769, allocations: 1.61 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.3769, allocations: 67.33 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.377, allocations: 0 / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.377, allocations: 15.44 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.377, allocations: 0 / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.4065, allocations: 7.274 MB / 1.352 GB, free: 6.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 6.406 kB / 1.352 GB, free: 6.793 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.41834287799429] Failed to read output from testmodel.py, exit status != 0: 11.949496769928373 11.975009709 11.602790675 Calling exit ...