Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001274/0.001274, 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.001427/0.001427, allocations: 217.7 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002429/0.002429, allocations: 282.9 kB / 313.5 MB, free: 2.809 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.167/1.167, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002808/0.002808, allocations: 98.77 kB / 0.7404 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1599, allocations: 95.38 MB / 0.8336 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002584/0.1625, allocations: 1.463 MB / 0.835 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1669, allocations: 2.952 MB / 0.8379 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1669, allocations: 4 kB / 0.8379 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.1669, allocations: 3.938 kB / 0.8379 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.167, allocations: 15.84 kB / 0.8379 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.171, allocations: 1.69 MB / 0.8396 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.1711, allocations: 51.72 kB / 0.8396 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1712, allocations: 0 / 0.8396 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.1712, allocations: 15.94 kB / 0.8396 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.1712, allocations: 15.88 kB / 0.8396 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.1712, allocations: 0 / 0.8396 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.1738, allocations: 1.716 MB / 0.8413 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1738, allocations: 8 kB / 0.8413 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1739, allocations: 23.8 kB / 0.8413 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.1756, allocations: 1.12 MB / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1756, allocations: 0 / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1756, allocations: 0 / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1756, allocations: 3.938 kB / 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.0006264/0.1762, allocations: 464.1 kB / 0.8429 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1763, allocations: 12.62 kB / 0.8429 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.427e-05/0.1763, allocations: 79.47 kB / 0.843 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.1764, allocations: 110 kB / 0.8431 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.1765, allocations: 80.17 kB / 0.8432 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1766, allocations: 197.8 kB / 0.8433 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.1766, allocations: 150.9 kB / 0.8435 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.1767, allocations: 158.5 kB / 0.8436 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/0.1768, allocations: 105 kB / 0.8437 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.1768, allocations: 75.28 kB / 0.8438 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.1769, allocations: 150.6 kB / 0.844 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.1769, allocations: 154.6 kB / 0.8441 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.177, allocations: 154.5 kB / 0.8442 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.1773, allocations: 437 kB / 0.8447 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1774, allocations: 177.1 kB / 0.8448 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.1774, allocations: 84.08 kB / 0.8449 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1775, allocations: 75.28 kB / 0.845 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.1775, allocations: 109.8 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.1775, allocations: 4 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.773e-05/0.1776, allocations: 37.58 kB / 0.8451 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.1777, allocations: 126.7 kB / 0.8453 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1778, allocations: 132.2 kB / 0.8454 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1779, allocations: 25.7 kB / 0.8454 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.1779, allocations: 100.1 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1779, allocations: 0 / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1779, allocations: 21.72 kB / 0.8455 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1781, allocations: 314.8 kB / 0.8458 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1781, allocations: 8 kB / 0.8458 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.1781, allocations: 3.984 kB / 0.8458 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.1782, allocations: 12.86 kB / 0.8458 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1782, allocations: 0 / 0.8458 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.1783, allocations: 49.58 kB / 0.8459 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1783, allocations: 4 kB / 0.8459 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.1783, allocations: 7.984 kB / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1783, allocations: 4.062 kB / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1783, allocations: 0 / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1783, allocations: 0 / 0.8459 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.1784, allocations: 15.89 kB / 0.8459 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1784, allocations: 0 / 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.0001053/0.1785, allocations: 193.7 kB / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.1785, allocations: 105 kB / 0.8462 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.1786, allocations: 124.5 kB / 0.8463 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.222e-05/0.1787, allocations: 176.3 kB / 0.8465 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-05/0.1787, allocations: 176.3 kB / 0.8467 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.767e-05/0.1788, allocations: 184.2 kB / 0.8468 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1791, allocations: 384.2 kB / 0.8472 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.1791, allocations: 108.9 kB / 0.8473 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.1792, allocations: 109 kB / 0.8474 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.1792, allocations: 176.3 kB / 0.8476 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.1793, allocations: 184.2 kB / 0.8478 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.746e-05/0.1794, allocations: 176.3 kB / 0.8479 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.051e-05/0.1794, allocations: 184.2 kB / 0.8481 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1796, allocations: 319.6 kB / 0.8484 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.1796, allocations: 108.9 kB / 0.8485 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.1797, allocations: 180.3 kB / 0.8487 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.1798, allocations: 108.9 kB / 0.8488 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.1799, allocations: 176.3 kB / 0.8489 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.1799, allocations: 112.9 kB / 0.8491 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.18, allocations: 99.27 kB / 0.8492 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.18, allocations: 0 / 0.8492 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007817/0.1808, allocations: 287 kB / 0.8494 GB, free: 7.945 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.001388/0.1822, allocations: 1.175 MB / 0.8506 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.1822, allocations: 37.7 kB / 0.8506 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1822, allocations: 3.938 kB / 0.8506 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.1823, allocations: 0 / 0.8506 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1827, allocations: 473.5 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.001483/0.1842, allocations: 1.59 MB / 0.8526 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1844, allocations: 0.6807 MB / 0.8533 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.1844, allocations: 0 / 0.8533 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1845, allocations: 19.42 kB / 0.8533 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1845, allocations: 32 / 0.8533 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.2131, allocations: 7.212 MB / 0.8603 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 6.312 kB / 0.8603 GB, free: 12.83 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.209815168986097] Failed to read output from testmodel.py, exit status != 0: 11.312336848990526 11.338142739 11.157860654 Calling exit ...