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.InternalResistancesTwoUTubeNegative.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.001273/0.001273, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001408/0.001408, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 9.121 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 3.191/3.191, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001984/0.001984, allocations: 76.97 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 180.2 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002611/0.343, allocations: 1.462 MB / 1.349 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.3478, allocations: 2.973 MB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3478, allocations: 4 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3478, allocations: 7.875 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.3479, allocations: 19.84 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.352, allocations: 1.645 MB / 1.354 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3521, allocations: 51.66 kB / 1.354 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3521, allocations: 3.906 kB / 1.354 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.3522, allocations: 23.86 kB / 1.354 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.3522, allocations: 15.94 kB / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3522, allocations: 0 / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3547, allocations: 1.599 MB / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.3547, allocations: 19.91 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3547, allocations: 11.88 kB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.3564, allocations: 1.13 MB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3564, allocations: 0 / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3564, allocations: 0 / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.3564, allocations: 4 kB / 1.357 GB, free: 0.9219 MB / 1.045 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.0006661/0.357, allocations: 0.5457 MB / 1.357 GB, free: 336 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3571, allocations: 8.031 kB / 1.357 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.3571, allocations: 106 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.3572, allocations: 84.17 kB / 1.357 GB, free: 128 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3574, allocations: 250.4 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.3574, allocations: 154.9 kB / 1.358 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.3575, allocations: 150.9 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.281e-05/0.3576, allocations: 116.9 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.3576, allocations: 75.28 kB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.3577, allocations: 158.5 kB / 1.358 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.3577, allocations: 150.6 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.3578, allocations: 150.6 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.3581, allocations: 469.9 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.3582, allocations: 169.1 kB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.3583, allocations: 80.14 kB / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3583, allocations: 79.22 kB / 1.359 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/0.3584, allocations: 113.8 kB / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3584, allocations: 0 / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.402e-05/0.3585, allocations: 33.59 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.3585, allocations: 126.7 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3587, allocations: 137.8 kB / 1.36 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3587, allocations: 25.7 kB / 1.36 GB, free: 13.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3588, allocations: 96.08 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.3588, allocations: 0 / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3588, allocations: 21.72 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.359, allocations: 318.8 kB / 1.36 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.359, allocations: 4 kB / 1.36 GB, free: 13.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.359, allocations: 4 kB / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.359, allocations: 16.86 kB / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.359, allocations: 0 / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.3592, allocations: 57.62 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3592, allocations: 8 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3592, allocations: 3.938 kB / 1.36 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3592, allocations: 8.062 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.3592, allocations: 0 / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3592, allocations: 0 / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.3593, allocations: 3.953 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3593, allocations: 0 / 1.36 GB, free: 13.02 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 0.0001105/0.3594, allocations: 189.1 kB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.3595, allocations: 116.9 kB / 1.36 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.3595, allocations: 108.8 kB / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/0.3596, allocations: 180.3 kB / 1.361 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.077e-05/0.3597, allocations: 184.2 kB / 1.361 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-05/0.3597, allocations: 184.2 kB / 1.361 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.36, allocations: 417.1 kB / 1.361 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.3601, allocations: 104.9 kB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.3601, allocations: 105 kB / 1.362 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.3602, allocations: 180.2 kB / 1.362 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.3603, allocations: 188.3 kB / 1.362 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.59e-05/0.3604, allocations: 180.3 kB / 1.362 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.879e-05/0.3604, allocations: 180.2 kB / 1.362 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3606, allocations: 311.7 kB / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3607, allocations: 190 kB / 1.363 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.3608, allocations: 176.3 kB / 1.363 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.3609, allocations: 108.9 kB / 1.363 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.361, allocations: 180.3 kB / 1.363 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.361, allocations: 108.9 kB / 1.363 GB, free: 9.469 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.594e-05/0.3611, allocations: 104.8 kB / 1.364 GB, free: 9.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3611, allocations: 0 / 1.364 GB, free: 9.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000914/0.362, allocations: 295 kB / 1.364 GB, free: 9.078 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.00167/0.3637, allocations: 1.197 MB / 1.365 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3638, allocations: 37.64 kB / 1.365 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3638, allocations: 0 / 1.365 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.3638, allocations: 0 / 1.365 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.3643, allocations: 471.7 kB / 1.365 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.366, allocations: 1.622 MB / 1.367 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3663, allocations: 0.6846 MB / 1.368 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.3663, allocations: 3.938 kB / 1.368 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.3663, allocations: 15.47 kB / 1.368 GB, free: 4.918 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3663, allocations: 4 kB / 1.368 GB, free: 4.914 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.4004, allocations: 7.333 MB / 1.375 GB, free: 13.78 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.865, allocations: 10.59 kB / 1.375 GB, free: 13.77 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.471122992923483] Failed to read output from testmodel.py, exit status != 0: 8.954935136018321 8.983319539 8.622223503 Calling exit ...