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.001568/0.001568, allocations: 103 kB / 16.45 MB, free: 6.5 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.001733/0.001733, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.199/3.199, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",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="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.001982/0.001982, allocations: 70.48 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002406/0.3317, allocations: 1.461 MB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004356/0.336, allocations: 2.977 MB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.3361, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.3361, allocations: 7.938 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.3362, allocations: 15.84 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.34, allocations: 1.65 MB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.3401, allocations: 47.61 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.3401, allocations: 11.91 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.3401, allocations: 15.92 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.569e-05/0.3401, allocations: 11.94 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3402, allocations: 4 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.3424, allocations: 1.607 MB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3425, allocations: 7.922 kB / 1.329 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3425, allocations: 19.88 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3439, allocations: 1.13 MB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3439, allocations: 0 / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3439, allocations: 3.938 kB / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3439, allocations: 0 / 1.33 GB, free: 10.31 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.0006699/0.3446, allocations: 0.5402 MB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3447, allocations: 8.031 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.3447, allocations: 118 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.3448, allocations: 80.17 kB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.345, allocations: 247.6 kB / 1.331 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.345, allocations: 150.9 kB / 1.331 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.3451, allocations: 158.9 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/0.3452, allocations: 108.9 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.3452, allocations: 79.28 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.3453, allocations: 154.5 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.3453, allocations: 150.6 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.3454, allocations: 154.6 kB / 1.332 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.3457, allocations: 465.9 kB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.3458, allocations: 173.1 kB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.3458, allocations: 80.14 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3459, allocations: 79.22 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.3459, allocations: 105.8 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3459, allocations: 4 kB / 1.332 GB, free: 7.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.416e-05/0.346, allocations: 33.66 kB / 1.332 GB, free: 7.281 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3461, allocations: 126.7 kB / 1.333 GB, free: 7.145 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3462, allocations: 135.8 kB / 1.333 GB, free: 7.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3462, allocations: 25.7 kB / 1.333 GB, free: 6.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3463, allocations: 96.12 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.3463, allocations: 3.938 kB / 1.333 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3463, allocations: 13.72 kB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3465, allocations: 326.8 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.3465, allocations: 4 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.3465, allocations: 12 kB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.3465, allocations: 8.859 kB / 1.333 GB, free: 6.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3465, allocations: 0 / 1.333 GB, free: 6.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000131/0.3467, allocations: 65.52 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3467, allocations: 4 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.3467, allocations: 4 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3467, allocations: 0 / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.3467, allocations: 4.062 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3467, allocations: 3.938 kB / 1.333 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.3467, allocations: 3.953 kB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3467, allocations: 4 kB / 1.333 GB, free: 6.402 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 9.85e-05/0.3468, allocations: 185.1 kB / 1.333 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3469, allocations: 108.9 kB / 1.334 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.347, allocations: 108.8 kB / 1.334 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.225e-05/0.347, allocations: 192.2 kB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-05/0.3471, allocations: 176.3 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/0.3472, allocations: 180.2 kB / 1.334 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.3474, allocations: 417.1 kB / 1.335 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-05/0.3475, allocations: 101 kB / 1.335 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.3475, allocations: 108.9 kB / 1.335 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.228e-05/0.3476, allocations: 188.3 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.3477, allocations: 180.2 kB / 1.335 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.115e-05/0.3477, allocations: 180.2 kB / 1.335 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.814e-05/0.3478, allocations: 180.2 kB / 1.335 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.348, allocations: 315.7 kB / 1.336 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/0.3481, allocations: 190 kB / 1.336 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.3481, allocations: 184.3 kB / 1.336 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3482, allocations: 101 kB / 1.336 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.3483, allocations: 184.2 kB / 1.336 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.3483, allocations: 101 kB / 1.336 GB, free: 2.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.995e-05/0.3484, allocations: 109 kB / 1.337 GB, free: 2.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3484, allocations: 0 / 1.337 GB, free: 2.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007413/0.3491, allocations: 291 kB / 1.337 GB, free: 2.477 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.001486/0.3506, allocations: 1.202 MB / 1.338 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3507, allocations: 37.7 kB / 1.338 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3507, allocations: 4 kB / 1.338 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3507, allocations: 0 / 1.338 GB, free: 1.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3512, allocations: 467.7 kB / 1.338 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3527, allocations: 1.618 MB / 1.34 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.353, allocations: 0.6807 MB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.353, allocations: 0 / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.3531, allocations: 23.42 kB / 1.341 GB, free: 14.31 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3531, allocations: 4.031 kB / 1.341 GB, free: 14.31 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.3859, allocations: 7.303 MB / 1.348 GB, free: 7.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.711, allocations: 8.797 kB / 1.348 GB, free: 7.211 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.364661286119372] Failed to read output from testmodel.py, exit status != 0: 8.788691881811246 8.815379254 8.466782912 Calling exit ...