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.InternalResistancesOneUTubeNegative.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.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001591/0.001591, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.801 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.084/3.084, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002031/0.002031, allocations: 70.41 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3155, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002789/0.3183, allocations: 1.447 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.3231, allocations: 2.654 MB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3231, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.3232, allocations: 7.938 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.3232, allocations: 11.86 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.3277, allocations: 1.6 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3278, allocations: 47.66 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3278, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.3278, allocations: 15.92 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.3279, allocations: 15.94 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3279, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.3303, allocations: 1.451 MB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.3303, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.3303, allocations: 15.94 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.3319, allocations: 1.072 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3319, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3319, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3319, allocations: 0 / 1.333 GB, free: 10.04 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.0006016/0.3325, allocations: 468 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3325, allocations: 19.98 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.3326, allocations: 106 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.3327, allocations: 84.17 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3328, allocations: 195.2 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.3329, allocations: 162.8 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.333, allocations: 154.9 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.249e-05/0.333, allocations: 108.9 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.3331, allocations: 75.28 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.3331, allocations: 150.6 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.3332, allocations: 150.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.3333, allocations: 154.6 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.3336, allocations: 444.9 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3337, allocations: 165.1 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.3338, allocations: 80.14 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.3338, allocations: 83.22 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.3339, allocations: 109.8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3339, allocations: 0 / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.692e-05/0.334, allocations: 37.59 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.334, allocations: 126.7 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3342, allocations: 127.4 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3342, allocations: 25.7 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3343, allocations: 100.1 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3343, allocations: 0 / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.3343, allocations: 17.77 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3345, allocations: 322.8 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.3345, allocations: 0 / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.3345, allocations: 8 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.3345, allocations: 12.8 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3345, allocations: 4 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.3347, allocations: 57.52 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3347, allocations: 4 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.3347, allocations: 4 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3347, allocations: 4.062 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3347, allocations: 0 / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.3347, allocations: 0 / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.3347, allocations: 4 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3348, allocations: 0 / 1.337 GB, free: 6.34 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.0001255/0.3349, allocations: 181.1 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.335, allocations: 112.9 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.456e-05/0.335, allocations: 120.7 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/0.3351, allocations: 176.3 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-05/0.3352, allocations: 180.2 kB / 1.337 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/0.3353, allocations: 184.3 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3356, allocations: 392.2 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.907e-05/0.3356, allocations: 104.9 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.3357, allocations: 101 kB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.3358, allocations: 188.2 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.3359, allocations: 180.2 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.662e-05/0.336, allocations: 180.2 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.336e-05/0.3361, allocations: 188.2 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.3363, allocations: 307.7 kB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.3363, allocations: 116.9 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.3364, allocations: 184.3 kB / 1.339 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3365, allocations: 112.9 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.3366, allocations: 176.3 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.3367, allocations: 104.9 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.845e-05/0.3367, allocations: 96.83 kB / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3367, allocations: 0 / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008738/0.3376, allocations: 298.9 kB / 1.34 GB, free: 2.527 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.001417/0.339, allocations: 1.176 MB / 1.341 GB, free: 1.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3391, allocations: 41.64 kB / 1.341 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3391, allocations: 0 / 1.341 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-06/0.3391, allocations: 3.984 kB / 1.341 GB, free: 1.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3396, allocations: 455.7 kB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3412, allocations: 1.597 MB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.3412, allocations: 75.36 kB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.3413, allocations: 4 kB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3413, allocations: 11.44 kB / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.3413, allocations: 0 / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.3789, allocations: 7.623 MB / 1.351 GB, free: 7.609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 4.062 kB / 1.351 GB, free: 7.605 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.205212108325213] Failed to read output from testmodel.py, exit status != 0: 11.926921257283539 11.94547395 11.61021534 Calling exit ...