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.001642/0.001642, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002131/0.002131, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.003491/0.003491, allocations: 285.8 kB / 313.5 MB, free: 2.789 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.203/1.203, allocations: 180.6 MB / 0.5377 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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",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="cs",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.002803/0.002803, allocations: 102 kB / 0.7404 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 95.4 MB / 0.8336 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002495/0.1635, allocations: 1.444 MB / 0.835 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.1679, allocations: 2.956 MB / 0.8379 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.168, allocations: 0 / 0.8379 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.168, allocations: 7.922 kB / 0.8379 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.168, allocations: 11.86 kB / 0.8379 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.1721, allocations: 1.697 MB / 0.8396 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.1721, allocations: 47.72 kB / 0.8396 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.1722, allocations: 0 / 0.8396 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.1722, allocations: 11.94 kB / 0.8396 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.1722, allocations: 23.86 kB / 0.8396 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1722, allocations: 4 kB / 0.8396 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.1748, allocations: 1.712 MB / 0.8413 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1748, allocations: 0 / 0.8413 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.1749, allocations: 23.81 kB / 0.8413 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1765, allocations: 1.122 MB / 0.8424 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1765, allocations: 4 kB / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1765, allocations: 3.938 kB / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1765, allocations: 0 / 0.8424 GB, free: 15.51 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.0006047/0.1771, allocations: 464.1 kB / 0.8429 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1771, allocations: 8.625 kB / 0.8429 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.273e-05/0.1772, allocations: 79.41 kB / 0.843 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.1772, allocations: 106 kB / 0.8431 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.1773, allocations: 88.17 kB / 0.8432 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1774, allocations: 193.8 kB / 0.8433 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.1775, allocations: 154.9 kB / 0.8435 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.1776, allocations: 158.7 kB / 0.8436 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.575e-05/0.1776, allocations: 108.9 kB / 0.8437 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.1777, allocations: 75.28 kB / 0.8438 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.1777, allocations: 154.6 kB / 0.844 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/0.1778, allocations: 150.6 kB / 0.8441 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.1778, allocations: 150.6 kB / 0.8442 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1781, allocations: 436.9 kB / 0.8447 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.1782, allocations: 173.1 kB / 0.8448 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.1783, allocations: 84.08 kB / 0.8449 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1783, allocations: 79.28 kB / 0.845 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.1784, allocations: 109.8 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1784, allocations: 0 / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.55e-05/0.1784, allocations: 33.66 kB / 0.8451 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.1785, allocations: 134.7 kB / 0.8452 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1786, allocations: 127.9 kB / 0.8454 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1786, allocations: 25.7 kB / 0.8454 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.1787, allocations: 100.1 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-06/0.1787, allocations: 4 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1787, allocations: 13.72 kB / 0.8455 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1789, allocations: 318.8 kB / 0.8458 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.1789, allocations: 4 kB / 0.8458 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.1789, allocations: 12 kB / 0.8458 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.1789, allocations: 8.859 kB / 0.8458 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1789, allocations: 0 / 0.8458 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000123/0.1791, allocations: 49.62 kB / 0.8459 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1791, allocations: 8 kB / 0.8459 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.1791, allocations: 3.938 kB / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1791, allocations: 4 kB / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1791, allocations: 0 / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1791, allocations: 0 / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.1791, allocations: 11.95 kB / 0.8459 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1792, allocations: 3.938 kB / 0.8459 GB, free: 11.74 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 0.0001019/0.1793, allocations: 189.7 kB / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.1793, allocations: 105 kB / 0.8462 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.1794, allocations: 120.5 kB / 0.8463 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/0.1795, allocations: 176.3 kB / 0.8465 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.268e-05/0.1795, allocations: 180.3 kB / 0.8466 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/0.1796, allocations: 188.2 kB / 0.8468 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1798, allocations: 384.2 kB / 0.8472 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.1799, allocations: 112.9 kB / 0.8473 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.1799, allocations: 101 kB / 0.8474 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.068e-05/0.18, allocations: 176.3 kB / 0.8476 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/0.1801, allocations: 188.2 kB / 0.8477 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/0.1802, allocations: 180.3 kB / 0.8479 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.162e-05/0.1802, allocations: 180.2 kB / 0.8481 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1804, allocations: 307.7 kB / 0.8484 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1804, allocations: 124.9 kB / 0.8485 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.1805, allocations: 184.2 kB / 0.8487 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1806, allocations: 104.9 kB / 0.8488 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.1807, allocations: 180.3 kB / 0.849 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.1807, allocations: 101 kB / 0.849 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.1808, allocations: 100.8 kB / 0.8491 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1808, allocations: 7.938 kB / 0.8492 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007453/0.1815, allocations: 295 kB / 0.8494 GB, free: 7.934 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.001356/0.1829, allocations: 1.175 MB / 0.8506 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.183, allocations: 37.69 kB / 0.8506 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.183, allocations: 4 kB / 0.8506 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.183, allocations: 3.938 kB / 0.8506 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1834, allocations: 455.7 kB / 0.8511 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1848, allocations: 1.6 MB / 0.8526 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1851, allocations: 0.6884 MB / 0.8533 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.1851, allocations: 0 / 0.8533 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1852, allocations: 15.44 kB / 0.8533 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.1852, allocations: 0 / 0.8533 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.2136, allocations: 7.197 MB / 0.8603 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.22, allocations: 8.578 kB / 0.8603 GB, free: 12.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.458372886991128] Failed to read output from testmodel.py, exit status != 0: 11.384384490957018 11.414246096 11.232596216 Calling exit ...