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.001535/0.001535, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001881/0.001881, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 8 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.002389/0.002389, allocations: 295.5 kB / 312.7 MB, free: 2.809 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.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 12.94 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.002793/0.002793, allocations: 105.2 kB / 0.7397 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1607, allocations: 95.38 MB / 0.8328 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002468/0.1631, allocations: 1.468 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1675, allocations: 2.995 MB / 0.8372 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.1675, allocations: 0 / 0.8372 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.1676, allocations: 7.922 kB / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.1676, allocations: 11.88 kB / 0.8372 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.1715, allocations: 1.715 MB / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.1716, allocations: 43.73 kB / 0.8389 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.1717, allocations: 4 kB / 0.8389 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.1717, allocations: 23.88 kB / 0.8389 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.1717, allocations: 23.84 kB / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1717, allocations: 0 / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.1743, allocations: 1.759 MB / 0.8407 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1743, allocations: 11.94 kB / 0.8407 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1743, allocations: 15.88 kB / 0.8407 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.1759, allocations: 1.146 MB / 0.8418 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1759, allocations: 7.984 kB / 0.8418 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1759, allocations: 0 / 0.8418 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.176, allocations: 0 / 0.8418 GB, free: 15.39 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.0006011/0.1766, allocations: 476 kB / 0.8423 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1766, allocations: 8.625 kB / 0.8423 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.597e-05/0.1767, allocations: 110 kB / 0.8424 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.1767, allocations: 84.16 kB / 0.8425 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1769, allocations: 203.6 kB / 0.8427 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.1769, allocations: 154.9 kB / 0.8428 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.177, allocations: 150.9 kB / 0.843 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.1771, allocations: 108.9 kB / 0.8431 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.1771, allocations: 75.28 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.1772, allocations: 150.6 kB / 0.8433 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/0.1772, allocations: 150.6 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.1773, allocations: 158.5 kB / 0.8436 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1776, allocations: 433 kB / 0.844 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.1777, allocations: 169.1 kB / 0.8441 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1777, allocations: 80.14 kB / 0.8442 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1778, allocations: 87.22 kB / 0.8443 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.1778, allocations: 105.8 kB / 0.8444 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1778, allocations: 0 / 0.8444 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8e-05/0.1779, allocations: 45.58 kB / 0.8445 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.178, allocations: 126.7 kB / 0.8446 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1781, allocations: 139.3 kB / 0.8447 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1781, allocations: 29.7 kB / 0.8447 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1782, allocations: 88.14 kB / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.1782, allocations: 0 / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1782, allocations: 17.72 kB / 0.8448 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1783, allocations: 322.8 kB / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.1784, allocations: 0 / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.1784, allocations: 8 kB / 0.8451 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.1784, allocations: 20.8 kB / 0.8452 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1784, allocations: 32 / 0.8452 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.1785, allocations: 61.58 kB / 0.8452 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1786, allocations: 4 kB / 0.8452 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1786, allocations: 7.938 kB / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1786, allocations: 0 / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-07/0.1786, allocations: 0 / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1786, allocations: 0 / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1786, allocations: 0 / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1786, allocations: 4 kB / 0.8452 GB, free: 11.68 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.0001048/0.1787, allocations: 193.8 kB / 0.8454 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.1788, allocations: 116.8 kB / 0.8455 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.1788, allocations: 104.8 kB / 0.8456 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/0.1789, allocations: 180.3 kB / 0.8458 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.376e-05/0.179, allocations: 180.2 kB / 0.846 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-05/0.1791, allocations: 184.2 kB / 0.8462 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1793, allocations: 392.2 kB / 0.8465 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-05/0.1793, allocations: 101 kB / 0.8466 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1794, allocations: 101 kB / 0.8467 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.856e-05/0.1795, allocations: 192.2 kB / 0.8469 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.1795, allocations: 176.3 kB / 0.8471 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.987e-05/0.1796, allocations: 180.2 kB / 0.8472 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.611e-05/0.1797, allocations: 180.3 kB / 0.8474 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1798, allocations: 323.6 kB / 0.8477 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1799, allocations: 104.9 kB / 0.8478 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.18, allocations: 188.3 kB / 0.848 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.18, allocations: 108.9 kB / 0.8481 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.1801, allocations: 176.3 kB / 0.8483 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.1802, allocations: 112.9 kB / 0.8484 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.1802, allocations: 101.8 kB / 0.8485 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1802, allocations: 0 / 0.8485 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000734/0.181, allocations: 291 kB / 0.8488 GB, free: 7.875 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.001326/0.1823, allocations: 1.19 MB / 0.8499 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1824, allocations: 41.64 kB / 0.85 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1824, allocations: 0 / 0.85 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1824, allocations: 0 / 0.85 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1828, allocations: 468.6 kB / 0.8504 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1843, allocations: 1.617 MB / 0.852 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1846, allocations: 0.6885 MB / 0.8527 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.1846, allocations: 3.938 kB / 0.8527 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.1846, allocations: 15.44 kB / 0.8527 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of SimCode: time 4.7e-07/0.1846, allocations: 4 kB / 0.8527 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.221, allocations: 7.362 MB / 0.8599 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.54, allocations: 8.234 kB / 0.8599 GB, free: 12.53 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: 14.582040509998478] Failed to read output from testmodel.py, exit status != 0: 10.648691917001997 10.675871733 10.495043686 Calling exit ...