Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001236/0.001236, 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.001378/0.001378, allocations: 215.3 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 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.002396/0.002396, allocations: 277.3 kB / 312.7 MB, free: 2.828 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.129/1.129, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.002731/0.002731, allocations: 101.6 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1533, allocations: 95.38 MB / 0.8328 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004284/0.1576, allocations: 3.084 MB / 0.8358 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1605, allocations: 2.195 MB / 0.8379 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1607, allocations: 8 kB / 0.8379 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.162, allocations: 0.4938 MB / 0.8384 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1623, allocations: 150.9 kB / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1624, allocations: 63.92 kB / 0.8386 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.1629, allocations: 452.3 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1631, allocations: 99.84 kB / 0.8392 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1634, allocations: 171.3 kB / 0.8393 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1636, allocations: 183.2 kB / 0.8395 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.1636, allocations: 35.94 kB / 0.8395 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.1637, allocations: 36 kB / 0.8396 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1638, allocations: 103.7 kB / 0.8397 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.164, allocations: 214.9 kB / 0.8399 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.1646, allocations: 0.5486 MB / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1646, allocations: 0 / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1646, allocations: 0 / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.1646, allocations: 0 / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001006/0.1656, allocations: 0.6368 MB / 0.841 GB, free: 144 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1656, allocations: 13.34 kB / 0.841 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.1657, allocations: 58.73 kB / 0.8411 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.1658, allocations: 48.61 kB / 0.8411 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.1663, allocations: 320.6 kB / 0.8414 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1663, allocations: 16.75 kB / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.1664, allocations: 20.38 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.1667, allocations: 211.4 kB / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1668, allocations: 0 / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1668, allocations: 8 kB / 0.8417 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1668, allocations: 4 kB / 0.8417 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.1671, allocations: 169.6 kB / 0.8419 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1683, allocations: 0.8354 MB / 0.8427 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1686, allocations: 148.4 kB / 0.8428 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1688, allocations: 100.8 kB / 0.8429 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1688, allocations: 4 kB / 0.8429 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1688, allocations: 34.56 kB / 0.8429 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.1688, allocations: 3.938 kB / 0.843 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0005847/0.1694, allocations: 259.2 kB / 0.8432 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1695, allocations: 51.41 kB / 0.8432 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1699, allocations: 417.7 kB / 0.8436 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.17, allocations: 33.69 kB / 0.8437 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1701, allocations: 204.5 kB / 0.8439 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.1702, allocations: 67.42 kB / 0.8439 GB, free: 13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.1702, allocations: 29.72 kB / 0.844 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1704, allocations: 346.8 kB / 0.8443 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1705, allocations: 55.97 kB / 0.8443 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1707, allocations: 66.16 kB / 0.8444 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.171, allocations: 136.8 kB / 0.8445 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.171, allocations: 0 / 0.8445 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003713/0.1713, allocations: 212.1 kB / 0.8447 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1713, allocations: 4 kB / 0.8447 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1713, allocations: 7.938 kB / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1714, allocations: 0 / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1716, allocations: 59.89 kB / 0.8448 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1716, allocations: 0 / 0.8448 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.1717, allocations: 19.89 kB / 0.8448 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1718, allocations: 4 kB / 0.8448 GB, free: 12.06 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 (20): * Single equations (assignments): 20 * 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.0001536/0.1719, allocations: 161.8 kB / 0.845 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.172, allocations: 35.77 kB / 0.845 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.172, allocations: 43.47 kB / 0.8451 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1721, allocations: 4 kB / 0.8451 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1721, allocations: 4 kB / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1721, allocations: 3.984 kB / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.1725, allocations: 348.4 kB / 0.8454 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1725, allocations: 0 / 0.8454 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1727, allocations: 59.91 kB / 0.8455 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1727, allocations: 3.938 kB / 0.8455 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1727, allocations: 7.922 kB / 0.8455 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1727, allocations: 0 / 0.8455 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1727, allocations: 4 kB / 0.8455 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1733, allocations: 373 kB / 0.8458 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.1734, allocations: 51.72 kB / 0.8459 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.1734, allocations: 11.88 kB / 0.8459 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1736, allocations: 11.98 kB / 0.8459 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1736, allocations: 7.984 kB / 0.8459 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1736, allocations: 8 kB / 0.8459 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000329/0.174, allocations: 303.2 kB / 0.8462 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.174, allocations: 0 / 0.8462 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003001/0.1743, allocations: 79.84 kB / 0.8463 GB, free: 10.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0008886/0.1751, allocations: 0.919 MB / 0.8472 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1755, allocations: 139.8 kB / 0.8473 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1755, allocations: 0 / 0.8473 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1756, allocations: 73.78 kB / 0.8474 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.1761, allocations: 97.42 kB / 0.8475 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.1805, allocations: 3.487 MB / 0.8509 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.1809, allocations: 0.7951 MB / 0.8517 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.1811, allocations: 42.95 kB / 0.8517 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1812, allocations: 115.4 kB / 0.8518 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/0.1812, allocations: 0 / 0.8518 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.2184, allocations: 8.21 MB / 0.8598 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.7, allocations: 12.05 kB / 0.8598 GB, free: 12.76 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.593893061999552] Failed to read output from testmodel.py, exit status != 0: 10.804008084000088 10.821459144 10.653386306 Calling exit ...