Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00133/0.00133, 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.001551/0.001551, allocations: 208.8 kB / 22.24 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002578/0.002578, allocations: 291.5 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003059/0.003059, allocations: 105.7 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1505, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002574/0.1531, allocations: 1.432 MB / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004424/0.1575, allocations: 2.679 MB / 0.8367 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.1576, allocations: 0 / 0.8367 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.1576, allocations: 7.922 kB / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.1577, allocations: 11.86 kB / 0.8368 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.1619, allocations: 1.653 MB / 0.8384 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.162, allocations: 39.67 kB / 0.8384 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.162, allocations: 8 kB / 0.8384 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.1621, allocations: 15.92 kB / 0.8384 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.567e-05/0.1621, allocations: 11.94 kB / 0.8384 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1621, allocations: 4 kB / 0.8385 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.1646, allocations: 1.486 MB / 0.8399 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.1646, allocations: 3.938 kB / 0.8399 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1646, allocations: 11.94 kB / 0.8399 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.1662, allocations: 1.107 MB / 0.841 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1662, allocations: 0 / 0.841 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1662, allocations: 0 / 0.841 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.1662, allocations: 0 / 0.841 GB, free: 15.83 MB / 0.5919 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.0006397/0.1668, allocations: 476 kB / 0.8415 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1669, allocations: 8.625 kB / 0.8415 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.167, allocations: 118 kB / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.167, allocations: 80.17 kB / 0.8416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1672, allocations: 195.3 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.1672, allocations: 150.9 kB / 0.842 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1673, allocations: 154.9 kB / 0.8421 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.561e-05/0.1674, allocations: 104.9 kB / 0.8422 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.1674, allocations: 79.28 kB / 0.8423 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.1675, allocations: 154.5 kB / 0.8425 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.1675, allocations: 154.5 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.1676, allocations: 154.6 kB / 0.8427 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.1679, allocations: 437 kB / 0.8432 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.168, allocations: 169.1 kB / 0.8433 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.1681, allocations: 80.14 kB / 0.8434 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.1681, allocations: 79.22 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.1682, allocations: 109.8 kB / 0.8436 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1682, allocations: 0 / 0.8436 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.548e-05/0.1682, allocations: 41.69 kB / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1683, allocations: 130.6 kB / 0.8437 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1684, allocations: 139.7 kB / 0.8439 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1684, allocations: 25.7 kB / 0.8439 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1685, allocations: 92.14 kB / 0.844 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.1685, allocations: 7.938 kB / 0.844 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1685, allocations: 17.7 kB / 0.844 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1687, allocations: 318.8 kB / 0.8443 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.1687, allocations: 4 kB / 0.8443 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.1687, allocations: 11.98 kB / 0.8443 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.1688, allocations: 8.859 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1688, allocations: 0 / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.1689, allocations: 61.53 kB / 0.8444 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1689, allocations: 4 kB / 0.8444 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.1689, allocations: 4 kB / 0.8444 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1689, allocations: 4.062 kB / 0.8444 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1689, allocations: 0 / 0.8444 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1689, allocations: 3.984 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.169, allocations: 4 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.169, allocations: 3.984 kB / 0.8444 GB, free: 12.12 MB / 0.5919 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.0001057/0.1691, allocations: 185.8 kB / 0.8446 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.1692, allocations: 108.9 kB / 0.8447 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.1692, allocations: 112.8 kB / 0.8448 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.1693, allocations: 188.2 kB / 0.845 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.446e-05/0.1694, allocations: 180.3 kB / 0.8452 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.322e-05/0.1694, allocations: 184.2 kB / 0.8453 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1697, allocations: 384.2 kB / 0.8457 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/0.1697, allocations: 108.9 kB / 0.8458 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1698, allocations: 105 kB / 0.8459 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.1699, allocations: 180.3 kB / 0.8461 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.17, allocations: 180.2 kB / 0.8463 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.166e-05/0.17, allocations: 176.3 kB / 0.8464 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.125e-05/0.1701, allocations: 184.2 kB / 0.8466 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1703, allocations: 319.6 kB / 0.8469 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1703, allocations: 108.9 kB / 0.847 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.1704, allocations: 180.3 kB / 0.8472 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.1705, allocations: 116.9 kB / 0.8473 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.1706, allocations: 176.3 kB / 0.8475 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.1706, allocations: 112.9 kB / 0.8476 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.863e-05/0.1707, allocations: 97.14 kB / 0.8477 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1707, allocations: 0 / 0.8477 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007461/0.1714, allocations: 299 kB / 0.8479 GB, free: 8.309 MB / 0.5919 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.001398/0.1728, allocations: 1.183 MB / 0.8491 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.1729, allocations: 49.56 kB / 0.8491 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1729, allocations: 4 kB / 0.8491 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.1729, allocations: 3.938 kB / 0.8492 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1734, allocations: 455.7 kB / 0.8496 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1749, allocations: 1.613 MB / 0.8512 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.175, allocations: 75.67 kB / 0.8512 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.175, allocations: 3.938 kB / 0.8512 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.175, allocations: 15.44 kB / 0.8513 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.175, allocations: 0 / 0.8513 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.2122, allocations: 7.831 MB / 0.8589 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.37, allocations: 6.031 kB / 0.8589 GB, free: 13.13 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.481578027829528] Failed to read output from testmodel.py, exit status != 0: 11.48603183310479 11.50434596 11.334843422 Calling exit ...