Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001337/0.001337, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001513/0.001513, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.781 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.002563/0.002563, allocations: 293 kB / 312.7 MB, free: 2.586 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.181/1.181, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.00403/0.00403, allocations: 113.4 kB / 0.7396 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1601, allocations: 95.38 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002633/0.1628, allocations: 1.44 MB / 0.8341 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.1672, allocations: 2.668 MB / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.1672, allocations: 0 / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.1672, allocations: 0 / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.1673, allocations: 23.73 kB / 0.8368 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.1713, allocations: 1.65 MB / 0.8384 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.1714, allocations: 47.67 kB / 0.8384 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1714, allocations: 4 kB / 0.8384 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1714, allocations: 15.94 kB / 0.8384 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.1715, allocations: 19.91 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.1715, allocations: 0 / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.1737, allocations: 1.478 MB / 0.8399 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1737, allocations: 7.922 kB / 0.8399 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1738, allocations: 15.94 kB / 0.8399 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1754, allocations: 1.103 MB / 0.841 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1754, allocations: 0 / 0.841 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1754, allocations: 0 / 0.841 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1754, allocations: 4 kB / 0.841 GB, free: 15.8 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.0005962/0.176, allocations: 476 kB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.176, allocations: 8.625 kB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.1761, allocations: 106 kB / 0.8416 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1761, allocations: 84.17 kB / 0.8417 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1763, allocations: 193.8 kB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.1763, allocations: 150.9 kB / 0.842 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.1764, allocations: 154.9 kB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.326e-05/0.1765, allocations: 108.9 kB / 0.8422 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.1765, allocations: 75.28 kB / 0.8423 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.1766, allocations: 154.6 kB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.1766, allocations: 158.6 kB / 0.8426 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1767, allocations: 154.5 kB / 0.8427 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.177, allocations: 433 kB / 0.8432 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.1771, allocations: 173.1 kB / 0.8433 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.1771, allocations: 80.14 kB / 0.8434 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1772, allocations: 79.22 kB / 0.8435 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.1772, allocations: 109.8 kB / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1772, allocations: 0 / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.72e-05/0.1773, allocations: 41.7 kB / 0.8436 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1774, allocations: 130.6 kB / 0.8437 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1775, allocations: 139.3 kB / 0.8439 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1775, allocations: 25.7 kB / 0.8439 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.1776, allocations: 96.12 kB / 0.844 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1776, allocations: 0 / 0.844 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1776, allocations: 13.72 kB / 0.844 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1777, allocations: 322.8 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.1778, allocations: 8 kB / 0.8443 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.1778, allocations: 4 kB / 0.8443 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.1778, allocations: 16.86 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1778, allocations: 0 / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.1779, allocations: 57.58 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.178, allocations: 12 kB / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.178, allocations: 4 kB / 0.8444 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.178, allocations: 0 / 0.8444 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.178, allocations: 3.984 kB / 0.8444 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.178, allocations: 0 / 0.8444 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.178, allocations: 0 / 0.8444 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.178, allocations: 4 kB / 0.8444 GB, free: 12.09 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.0001003/0.1781, allocations: 181.8 kB / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.1782, allocations: 116.9 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.1782, allocations: 112.7 kB / 0.8448 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.918e-05/0.1783, allocations: 184.3 kB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.099e-05/0.1784, allocations: 176.3 kB / 0.8452 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.119e-05/0.1785, allocations: 184.2 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1787, allocations: 388.2 kB / 0.8457 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.1787, allocations: 108.9 kB / 0.8458 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.1788, allocations: 101 kB / 0.8459 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.1788, allocations: 176.3 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.1789, allocations: 184.2 kB / 0.8462 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.065e-05/0.179, allocations: 180.3 kB / 0.8464 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.125e-05/0.1791, allocations: 188.2 kB / 0.8466 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.1792, allocations: 311.7 kB / 0.8469 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1793, allocations: 120.9 kB / 0.847 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.1794, allocations: 184.2 kB / 0.8472 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1794, allocations: 104.9 kB / 0.8473 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.1795, allocations: 180.3 kB / 0.8475 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.1796, allocations: 101 kB / 0.8476 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.1796, allocations: 105.1 kB / 0.8477 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1796, allocations: 4 kB / 0.8477 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007459/0.1804, allocations: 298.9 kB / 0.8479 GB, free: 8.281 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.00141/0.1818, allocations: 1.19 MB / 0.8491 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.1819, allocations: 37.7 kB / 0.8491 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.1819, allocations: 0 / 0.8491 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.1819, allocations: 3.938 kB / 0.8491 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1823, allocations: 471.7 kB / 0.8496 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1838, allocations: 1.612 MB / 0.8512 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.1839, allocations: 71.53 kB / 0.8512 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.1839, allocations: 0 / 0.8512 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1839, allocations: 19.42 kB / 0.8513 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1839, allocations: 0 / 0.8513 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.2197, allocations: 7.835 MB / 0.8589 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 7.984 kB / 0.8589 GB, free: 13.1 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.13645315496251] Failed to read output from testmodel.py, exit status != 0: 11.227393698878586 11.254123874 11.074166541 Calling exit ...