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.001362/0.001362, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001749/0.001749, allocations: 220.2 kB / 22.25 MB, free: 5.258 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.781 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.175/3.175, allocations: 0.49 GB / 0.7951 GB, free: 35.38 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",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="me",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.0021/0.0021, allocations: 71.78 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3657, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00287/0.3686, allocations: 1.43 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.3732, allocations: 2.658 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.3732, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.3732, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.3733, allocations: 15.86 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.3775, allocations: 1.634 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3776, allocations: 43.72 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3777, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.3777, allocations: 15.92 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.3777, allocations: 19.88 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3778, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.3802, allocations: 1.552 MB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3802, allocations: 4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.3802, allocations: 15.88 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.3817, allocations: 1.076 MB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3817, allocations: 4 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3817, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3817, allocations: 0 / 1.334 GB, free: 8.949 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.0006275/0.3824, allocations: 468 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3824, allocations: 15.98 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.3825, allocations: 106 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.3825, allocations: 80.17 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3827, allocations: 205.7 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.3828, allocations: 150.9 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.3828, allocations: 150.9 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.3829, allocations: 112.9 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.383, allocations: 75.28 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.383, allocations: 150.6 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/0.3831, allocations: 150.6 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.3832, allocations: 154.5 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3835, allocations: 440.9 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.3836, allocations: 169.1 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.3836, allocations: 84.08 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3837, allocations: 79.22 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.3837, allocations: 109.8 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3837, allocations: 0 / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.937e-05/0.3838, allocations: 37.59 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3839, allocations: 130.7 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.384, allocations: 131.7 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.384, allocations: 25.7 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3841, allocations: 92.12 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.3841, allocations: 0 / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.3841, allocations: 25.7 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3843, allocations: 314.8 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.3843, allocations: 8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.3843, allocations: 7.984 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.3844, allocations: 12.89 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3844, allocations: 0 / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.3845, allocations: 61.52 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3845, allocations: 4 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3845, allocations: 4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3845, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3845, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3845, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.3846, allocations: 0 / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3846, allocations: 4 kB / 1.338 GB, free: 5.254 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.0001253/0.3847, allocations: 189.2 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.3848, allocations: 112.9 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.986e-05/0.3849, allocations: 116.7 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/0.3849, allocations: 176.3 kB / 1.338 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/0.385, allocations: 180.2 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.301e-05/0.3851, allocations: 184.3 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3854, allocations: 388.2 kB / 1.339 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-05/0.3854, allocations: 105 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.3854, allocations: 101 kB / 1.339 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.973e-05/0.3855, allocations: 180.2 kB / 1.339 GB, free: 3.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.3856, allocations: 184.3 kB / 1.339 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.999e-05/0.3857, allocations: 188.2 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.681e-05/0.3858, allocations: 180.2 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3859, allocations: 315.7 kB / 1.34 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.386, allocations: 109 kB / 1.34 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.3861, allocations: 184.2 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.3862, allocations: 101 kB / 1.34 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.3862, allocations: 180.3 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.3863, allocations: 104.9 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3864, allocations: 100.7 kB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3864, allocations: 0 / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007366/0.3871, allocations: 294.9 kB / 1.341 GB, free: 1.453 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.001374/0.3885, allocations: 1.175 MB / 1.342 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3886, allocations: 41.64 kB / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3886, allocations: 3.938 kB / 1.342 GB, free: 204 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3886, allocations: 0 / 1.342 GB, free: 204 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.389, allocations: 467.7 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3905, allocations: 1.599 MB / 1.344 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.3906, allocations: 71.27 kB / 1.344 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.3906, allocations: 0 / 1.344 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3906, allocations: 15.44 kB / 1.344 GB, free: 13.95 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3906, allocations: 0 / 1.344 GB, free: 13.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.4285, allocations: 7.639 MB / 1.352 GB, free: 6.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.48, allocations: 7.922 kB / 1.352 GB, free: 6.496 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.308014851994812] Failed to read output from testmodel.py, exit status != 0: 11.593258596985834 11.616603259 11.230256526 Calling exit ...