Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007296/0.0007296, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001172/0.001172, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8216/0.8216, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.00134/0.00134, allocations: 238.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6439/0.6439, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6464 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.758e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001546/0.001564, allocations: 1.43 MB / 0.6478 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2184/0.2199, allocations: 2.637 MB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.22, allocations: 0.5938 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.22, allocations: 2.172 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.22, allocations: 20.23 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2221, allocations: 1.62 MB / 0.652 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.051e-05/0.2222, allocations: 48.23 kB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.2222, allocations: 4.359 kB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.2222, allocations: 18.62 kB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.954e-05/0.2223, allocations: 14.58 kB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.2223, allocations: 1.688 kB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.2237, allocations: 1.454 MB / 0.6535 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2237, allocations: 7.891 kB / 0.6535 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2237, allocations: 7.75 kB / 0.6535 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2248, allocations: 1.243 MB / 0.6547 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2248, allocations: 1.516 kB / 0.6547 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2248, allocations: 0 / 0.6547 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.2248, allocations: 0 / 0.6547 GB, free: 54.1 MB / 0.5573 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.000326/0.2251, allocations: 471.3 kB / 0.6551 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2252, allocations: 12.22 kB / 0.6552 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.989e-05/0.2252, allocations: 106 kB / 0.6553 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2252, allocations: 82.2 kB / 0.6553 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.103e-05/0.2253, allocations: 196.7 kB / 0.6555 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2253, allocations: 154.7 kB / 0.6557 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2253, allocations: 152.9 kB / 0.6558 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.95e-05/0.2253, allocations: 101.5 kB / 0.6559 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2253, allocations: 77.97 kB / 0.656 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2254, allocations: 158.5 kB / 0.6561 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2254, allocations: 151.6 kB / 0.6563 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.2254, allocations: 153 kB / 0.6564 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2255, allocations: 437.1 kB / 0.6568 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.2255, allocations: 168.2 kB / 0.657 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.2256, allocations: 80.14 kB / 0.6571 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.2256, allocations: 79.62 kB / 0.6572 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2256, allocations: 107.9 kB / 0.6573 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.2256, allocations: 0 / 0.6573 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.5e-05/0.2256, allocations: 40.53 kB / 0.6573 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2257, allocations: 127.9 kB / 0.6574 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.2257, allocations: 132.3 kB / 0.6575 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.2257, allocations: 28.98 kB / 0.6576 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.2258, allocations: 94.3 kB / 0.6577 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2258, allocations: 0 / 0.6577 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.2258, allocations: 14.47 kB / 0.6577 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.93e-05/0.2258, allocations: 324.6 kB / 0.658 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.2258, allocations: 1.781 kB / 0.658 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.2258, allocations: 9.078 kB / 0.658 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.2259, allocations: 17.03 kB / 0.658 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2259, allocations: 1.5 kB / 0.658 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.419e-05/0.2259, allocations: 50 kB / 0.6581 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.226, allocations: 9.938 kB / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.226, allocations: 8.094 kB / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.226, allocations: 0 / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.226, allocations: 1.375 kB / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.226, allocations: 6.016 kB / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.226, allocations: 0 / 0.6581 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.226, allocations: 5.625 kB / 0.6581 GB, free: 50.66 MB / 0.5573 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 3.506e-05/0.226, allocations: 186.1 kB / 0.6583 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.2261, allocations: 109.4 kB / 0.6584 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.2261, allocations: 120.5 kB / 0.6585 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2261, allocations: 177.3 kB / 0.6587 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.2261, allocations: 187.7 kB / 0.6588 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2261, allocations: 180.3 kB / 0.659 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.11e-05/0.2262, allocations: 381.9 kB / 0.6594 GB, free: 49.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.2262, allocations: 105.7 kB / 0.6595 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.2262, allocations: 106.1 kB / 0.6596 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/0.2262, allocations: 187.4 kB / 0.6598 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.2263, allocations: 180.9 kB / 0.6599 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/0.2263, allocations: 178.6 kB / 0.6601 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.2263, allocations: 181.7 kB / 0.6603 GB, free: 48.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.624e-05/0.2263, allocations: 312.7 kB / 0.6606 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.2264, allocations: 104.1 kB / 0.6607 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.2264, allocations: 195.8 kB / 0.6609 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.2264, allocations: 104.2 kB / 0.661 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.2264, allocations: 176.3 kB / 0.6611 GB, free: 47.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2265, allocations: 108.1 kB / 0.6612 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.2265, allocations: 101.4 kB / 0.6613 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2265, allocations: 0 / 0.6613 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004068/0.2269, allocations: 289.9 kB / 0.6616 GB, free: 47.16 MB / 0.5573 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.0007762/0.2277, allocations: 1.216 MB / 0.6628 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.2277, allocations: 39.11 kB / 0.6628 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2277, allocations: 0 / 0.6628 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2277, allocations: 0 / 0.6628 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2279, allocations: 468.7 kB / 0.6633 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.2287, allocations: 1.578 MB / 0.6648 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.2287, allocations: 70.09 kB / 0.6649 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.086e-05/0.2287, allocations: 3.188 kB / 0.6649 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.2287, allocations: 16.08 kB / 0.6649 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2287, allocations: 0 / 0.6649 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.2467, allocations: 7.833 MB / 0.6725 GB, free: 42.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/7.004, allocations: 2.297 kB / 0.6725 GB, free: 42.99 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.51359738688916] Failed to read output from testmodel.py, exit status != 0: 7.089237896725535 7.110751923 6.881641692 Calling exit ...