Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0007145/0.0007145, 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.0007676/0.0007676, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8206/0.8206, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001406/0.001406, allocations: 237.4 kB / 259.4 MB, free: 13.02 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.6512/0.6512, 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.769e-06/1.099e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.2002/0.2002, allocations: 3.8 MB / 0.6501 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2021, allocations: 2.219 MB / 0.6522 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2023, allocations: 10.84 kB / 0.6522 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.2032, allocations: 0.4954 MB / 0.6527 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.2034, allocations: 260 kB / 0.653 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.2035, allocations: 138.8 kB / 0.6531 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.204, allocations: 0.8471 MB / 0.6539 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.2042, allocations: 220.7 kB / 0.6541 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.2046, allocations: 462.6 kB / 0.6546 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.2048, allocations: 241 kB / 0.6548 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.2049, allocations: 74.16 kB / 0.6549 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.006e-05/0.2049, allocations: 75.66 kB / 0.6549 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.205, allocations: 172.9 kB / 0.6551 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2052, allocations: 270.8 kB / 0.6554 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.2058, allocations: 0.9968 MB / 0.6563 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2058, allocations: 0 / 0.6563 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2058, allocations: 0 / 0.6563 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.2058, allocations: 0 / 0.6563 GB, free: 52.28 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008037/0.2066, allocations: 0.8929 MB / 0.6572 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2066, allocations: 10.66 kB / 0.6572 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.2067, allocations: 90.06 kB / 0.6573 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2068, allocations: 77.72 kB / 0.6574 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.2072, allocations: 396.3 kB / 0.6578 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2072, allocations: 37.34 kB / 0.6578 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.2072, allocations: 50.23 kB / 0.6578 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.2077, allocations: 425.6 kB / 0.6583 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2077, allocations: 1.516 kB / 0.6583 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2077, allocations: 25.91 kB / 0.6583 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2077, allocations: 12.66 kB / 0.6583 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2081, allocations: 363.6 kB / 0.6586 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2093, allocations: 1.255 MB / 0.6599 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2096, allocations: 316.6 kB / 0.6602 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.2099, allocations: 285.5 kB / 0.6604 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2099, allocations: 6.062 kB / 0.6604 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2099, allocations: 36.69 kB / 0.6605 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.2099, allocations: 0.5 kB / 0.6605 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.000572/0.2105, allocations: 0.5006 MB / 0.661 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.2105, allocations: 56.81 kB / 0.661 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.2108, allocations: 487.1 kB / 0.6615 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2109, allocations: 32.27 kB / 0.6615 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.2109, allocations: 274 kB / 0.6618 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.211, allocations: 154.9 kB / 0.6619 GB, free: 49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.2111, allocations: 62.39 kB / 0.662 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.2111, allocations: 359.2 kB / 0.6623 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2112, allocations: 123.9 kB / 0.6624 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2114, allocations: 129.5 kB / 0.6626 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.2117, allocations: 303.3 kB / 0.6629 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2117, allocations: 0 / 0.6629 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003607/0.212, allocations: 396.1 kB / 0.6632 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2121, allocations: 6.094 kB / 0.6632 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2121, allocations: 7.938 kB / 0.6632 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2121, allocations: 7.281 kB / 0.6633 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2123, allocations: 123.8 kB / 0.6634 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2124, allocations: 1.031 kB / 0.6634 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2125, allocations: 41.84 kB / 0.6634 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2125, allocations: 11.84 kB / 0.6634 GB, free: 48.16 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001153/0.2126, allocations: 194.7 kB / 0.6636 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.2126, allocations: 56.72 kB / 0.6637 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.2127, allocations: 64.36 kB / 0.6637 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2127, allocations: 7.312 kB / 0.6637 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2127, allocations: 0 / 0.6637 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2127, allocations: 3.781 kB / 0.6637 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.213, allocations: 484.9 kB / 0.6642 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.213, allocations: 0 / 0.6642 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2133, allocations: 130.3 kB / 0.6643 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2133, allocations: 1.625 kB / 0.6643 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2133, allocations: 17.91 kB / 0.6643 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2133, allocations: 1.688 kB / 0.6643 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2133, allocations: 1.922 kB / 0.6643 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.2139, allocations: 0.6478 MB / 0.665 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.214, allocations: 64.61 kB / 0.665 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.214, allocations: 10.03 kB / 0.6651 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2141, allocations: 11.91 kB / 0.6651 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2141, allocations: 24.06 kB / 0.6651 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2141, allocations: 16.91 kB / 0.6651 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002369/0.2144, allocations: 349.5 kB / 0.6654 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2144, allocations: 0 / 0.6654 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002393/0.2146, allocations: 150 kB / 0.6656 GB, free: 46.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0006353/0.2153, allocations: 1.202 MB / 0.6668 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2156, allocations: 307.1 kB / 0.667 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2156, allocations: 1.688 kB / 0.667 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2157, allocations: 167.6 kB / 0.6672 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2161, allocations: 129.4 kB / 0.6673 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.2202, allocations: 4.811 MB / 0.672 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2203, allocations: 272 kB / 0.6723 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.2204, allocations: 59.53 kB / 0.6723 GB, free: 43.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2206, allocations: 187.3 kB / 0.6725 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2206, allocations: 0 / 0.6725 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.2452, allocations: 12.8 MB / 0.685 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/7.017, allocations: 1.469 kB / 0.685 GB, free: 41.02 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.479195070452988] Failed to read output from testmodel.py, exit status != 0: 7.102158199995756 7.110475774 6.902886512 Calling exit ...