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.001297/0.001297, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001493/0.001493, allocations: 217.8 kB / 22.25 MB, free: 4.855 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.785 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.002678/0.002678, allocations: 280.9 kB / 312.7 MB, free: 2.691 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.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002988/0.002988, allocations: 110.2 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1491, allocations: 95.38 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002485/0.1516, allocations: 1.419 MB / 0.8341 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.1558, allocations: 2.641 MB / 0.8367 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1558, allocations: 4 kB / 0.8367 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.1559, allocations: 3.938 kB / 0.8367 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.1559, allocations: 15.86 kB / 0.8367 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.1598, allocations: 1.631 MB / 0.8383 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.1599, allocations: 43.67 kB / 0.8383 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1599, allocations: 7.984 kB / 0.8384 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.1599, allocations: 15.92 kB / 0.8384 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.695e-05/0.16, allocations: 11.94 kB / 0.8384 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.16, allocations: 0 / 0.8384 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.1622, allocations: 1.451 MB / 0.8398 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.1623, allocations: 7.938 kB / 0.8398 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1623, allocations: 11.94 kB / 0.8398 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1638, allocations: 1.076 MB / 0.8409 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1638, allocations: 0 / 0.8409 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1638, allocations: 3.938 kB / 0.8409 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1638, allocations: 0 / 0.8409 GB, free: 15.96 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.0005593/0.1643, allocations: 464 kB / 0.8413 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1644, allocations: 17.2 kB / 0.8413 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.1644, allocations: 110 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.1645, allocations: 76.22 kB / 0.8415 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1647, allocations: 205.7 kB / 0.8417 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.1647, allocations: 150.9 kB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.1648, allocations: 158.9 kB / 0.842 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.276e-05/0.1649, allocations: 112.9 kB / 0.8421 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.1649, allocations: 75.28 kB / 0.8422 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.165, allocations: 150.6 kB / 0.8423 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.165, allocations: 150.6 kB / 0.8425 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.1651, allocations: 150.6 kB / 0.8426 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.1654, allocations: 440.9 kB / 0.843 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.1655, allocations: 169.1 kB / 0.8432 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.1655, allocations: 80.14 kB / 0.8433 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1656, allocations: 83.22 kB / 0.8433 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.1656, allocations: 113.8 kB / 0.8435 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1656, allocations: 0 / 0.8435 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.268e-05/0.1657, allocations: 25.7 kB / 0.8435 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.1658, allocations: 134.6 kB / 0.8436 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1659, allocations: 135.8 kB / 0.8437 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1659, allocations: 25.7 kB / 0.8438 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.166, allocations: 92.14 kB / 0.8438 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.166, allocations: 0 / 0.8438 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.166, allocations: 17.77 kB / 0.8439 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1661, allocations: 322.8 kB / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.1661, allocations: 4 kB / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.1662, allocations: 4 kB / 0.8442 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.1662, allocations: 12.86 kB / 0.8442 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1662, allocations: 0 / 0.8442 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1663, allocations: 57.58 kB / 0.8442 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1663, allocations: 4 kB / 0.8443 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.1664, allocations: 7.938 kB / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1664, allocations: 0 / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.1664, allocations: 0 / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1664, allocations: 0 / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.1664, allocations: 4.062 kB / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1664, allocations: 4 kB / 0.8443 GB, free: 12.27 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.813e-05/0.1665, allocations: 185.7 kB / 0.8444 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.1666, allocations: 116.9 kB / 0.8446 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.1666, allocations: 120.5 kB / 0.8447 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.1667, allocations: 176.3 kB / 0.8448 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.491e-05/0.1668, allocations: 180.3 kB / 0.845 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/0.1669, allocations: 188.2 kB / 0.8452 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1671, allocations: 384.2 kB / 0.8456 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/0.1672, allocations: 108.9 kB / 0.8457 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.1672, allocations: 108.9 kB / 0.8458 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-05/0.1673, allocations: 176.3 kB / 0.8459 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/0.1674, allocations: 188.2 kB / 0.8461 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-05/0.1674, allocations: 176.3 kB / 0.8463 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.295e-05/0.1675, allocations: 180.2 kB / 0.8465 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.1677, allocations: 307.8 kB / 0.8467 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1677, allocations: 120.9 kB / 0.8469 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.1678, allocations: 176.3 kB / 0.847 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.1679, allocations: 108.9 kB / 0.8471 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.168, allocations: 184.3 kB / 0.8473 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.168, allocations: 101 kB / 0.8474 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.1681, allocations: 103.2 kB / 0.8475 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1681, allocations: 3.938 kB / 0.8475 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007608/0.1688, allocations: 295 kB / 0.8478 GB, free: 8.461 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.001322/0.1702, allocations: 1.167 MB / 0.8489 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.1702, allocations: 41.69 kB / 0.849 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1703, allocations: 0 / 0.849 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.1703, allocations: 8 kB / 0.849 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1707, allocations: 462.3 kB / 0.8494 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1721, allocations: 1.586 MB / 0.851 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.1721, allocations: 75.2 kB / 0.851 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.233e-05/0.1721, allocations: 0 / 0.851 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.1722, allocations: 15.44 kB / 0.8511 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1722, allocations: 4.031 kB / 0.8511 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.2069, allocations: 7.628 MB / 0.8585 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.37, allocations: 11.52 kB / 0.8585 GB, free: 13.52 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: 15.488630208652467] Failed to read output from testmodel.py, exit status != 0: 11.48369697900489 11.510091504 11.340958278 Calling exit ...