Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001626/0.001626, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002028/0.002028, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 8.055 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.002399/0.002399, allocations: 284.7 kB / 312.7 MB, free: 2.961 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.132/1.132, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.002776/0.002776, allocations: 105 kB / 0.7397 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 95.39 MB / 0.8328 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002444/0.15, allocations: 1.453 MB / 0.8342 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.1542, allocations: 2.952 MB / 0.8371 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.1542, allocations: 0 / 0.8371 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1543, allocations: 3.938 kB / 0.8371 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.1543, allocations: 15.84 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.1582, allocations: 1.688 MB / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.1582, allocations: 47.73 kB / 0.8388 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.1583, allocations: 4 kB / 0.8388 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.1583, allocations: 15.94 kB / 0.8388 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.117e-05/0.1583, allocations: 19.86 kB / 0.8389 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1583, allocations: 4 kB / 0.8389 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.1608, allocations: 1.712 MB / 0.8405 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1608, allocations: 4 kB / 0.8405 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.1608, allocations: 23.84 kB / 0.8406 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.1624, allocations: 1.114 MB / 0.8417 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1624, allocations: 0 / 0.8417 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.905e-06/0.1624, allocations: 8 kB / 0.8417 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1624, allocations: 0 / 0.8417 GB, free: 15.59 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.0005862/0.163, allocations: 468 kB / 0.8421 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1631, allocations: 12.62 kB / 0.8421 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.1631, allocations: 110 kB / 0.8422 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.1632, allocations: 80.17 kB / 0.8423 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1633, allocations: 197.7 kB / 0.8425 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1634, allocations: 154.9 kB / 0.8426 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1634, allocations: 150.9 kB / 0.8428 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.1635, allocations: 104.9 kB / 0.8429 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.1635, allocations: 75.28 kB / 0.843 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.1636, allocations: 154.6 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.1636, allocations: 154.5 kB / 0.8433 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.1637, allocations: 158.5 kB / 0.8434 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.164, allocations: 433 kB / 0.8438 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.1641, allocations: 173.1 kB / 0.844 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.1641, allocations: 80.14 kB / 0.8441 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1641, allocations: 83.22 kB / 0.8441 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.1642, allocations: 113.8 kB / 0.8442 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1642, allocations: 0 / 0.8442 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.362e-05/0.1643, allocations: 33.59 kB / 0.8443 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1643, allocations: 130.6 kB / 0.8444 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1645, allocations: 132 kB / 0.8445 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1645, allocations: 29.7 kB / 0.8446 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.1645, allocations: 96.08 kB / 0.8446 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1645, allocations: 0 / 0.8446 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1646, allocations: 21.77 kB / 0.8447 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1647, allocations: 314.8 kB / 0.845 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.1647, allocations: 8 kB / 0.845 GB, free: 12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.1647, allocations: 3.984 kB / 0.845 GB, free: 12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.1648, allocations: 12.86 kB / 0.845 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1648, allocations: 0 / 0.845 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001144/0.1649, allocations: 53.61 kB / 0.845 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1649, allocations: 4 kB / 0.845 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.1649, allocations: 11.92 kB / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1649, allocations: 0 / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-07/0.1649, allocations: 0 / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1649, allocations: 3.984 kB / 0.8451 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.1649, allocations: 7.953 kB / 0.8451 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1649, allocations: 0 / 0.8451 GB, free: 11.89 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 9.597e-05/0.165, allocations: 181.8 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.1651, allocations: 120.9 kB / 0.8454 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1652, allocations: 116.6 kB / 0.8455 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-05/0.1652, allocations: 176.3 kB / 0.8456 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.639e-05/0.1653, allocations: 180.2 kB / 0.8458 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-05/0.1654, allocations: 176.3 kB / 0.846 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1656, allocations: 396.2 kB / 0.8464 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-05/0.1656, allocations: 105 kB / 0.8465 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1657, allocations: 105 kB / 0.8466 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.608e-05/0.1657, allocations: 180.2 kB / 0.8467 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.1658, allocations: 176.3 kB / 0.8469 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.94e-05/0.1659, allocations: 188.2 kB / 0.8471 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.581e-05/0.166, allocations: 184.3 kB / 0.8473 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.1661, allocations: 315.6 kB / 0.8476 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1662, allocations: 112.9 kB / 0.8477 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.1662, allocations: 184.2 kB / 0.8478 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.1663, allocations: 105 kB / 0.8479 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.1664, allocations: 176.3 kB / 0.8481 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.1664, allocations: 108.9 kB / 0.8482 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.1665, allocations: 101 kB / 0.8483 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.8483 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007283/0.1672, allocations: 291 kB / 0.8486 GB, free: 8.094 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.001292/0.1685, allocations: 1.178 MB / 0.8497 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.1686, allocations: 41.64 kB / 0.8498 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1686, allocations: 0 / 0.8498 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1686, allocations: 0 / 0.8498 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.169, allocations: 471.7 kB / 0.8502 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1704, allocations: 1.592 MB / 0.8518 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1707, allocations: 0.6845 MB / 0.8524 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.364e-05/0.1707, allocations: 4.031 kB / 0.8524 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1707, allocations: 19.45 kB / 0.8525 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.1707, allocations: 0 / 0.8525 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.2058, allocations: 7.165 MB / 0.8595 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.62, allocations: 8.453 kB / 0.8595 GB, free: 12.98 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.509462605001318] Failed to read output from testmodel.py, exit status != 0: 10.735941770999489 10.751357937 10.585901026 Calling exit ...