Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001302/0.001302, allocations: 114.5 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.001456/0.001456, allocations: 217 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7964/0.7964, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001931/0.001931, allocations: 66.91 kB / 0.6186 GB, free: 7.309 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1709, allocations: 85.9 MB / 0.7025 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002647/0.1735, allocations: 1.461 MB / 0.7039 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004701/0.1782, allocations: 2.985 MB / 0.7069 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.1783, allocations: 0 / 0.7069 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1783, allocations: 7.922 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1784, allocations: 11.88 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.1826, allocations: 1.699 MB / 0.7085 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1827, allocations: 43.67 kB / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1827, allocations: 4 kB / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.1828, allocations: 19.94 kB / 0.7086 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.1828, allocations: 15.92 kB / 0.7086 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1828, allocations: 3.938 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.1855, allocations: 1.755 MB / 0.7103 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1855, allocations: 11.92 kB / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1855, allocations: 15.88 kB / 0.7104 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1871, allocations: 1.134 MB / 0.7115 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1871, allocations: 0 / 0.7115 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1871, allocations: 0 / 0.7115 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1872, allocations: 4 kB / 0.7115 GB, free: 8.297 MB / 0.5294 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.0006447/0.1878, allocations: 468.1 kB / 0.7119 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1878, allocations: 8.031 kB / 0.7119 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1879, allocations: 110 kB / 0.712 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.188, allocations: 84.17 kB / 0.7121 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1881, allocations: 200 kB / 0.7123 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.1882, allocations: 154.5 kB / 0.7124 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.1883, allocations: 154.6 kB / 0.7126 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.762e-05/0.1884, allocations: 112.9 kB / 0.7127 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.1884, allocations: 75.28 kB / 0.7128 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.1885, allocations: 154.5 kB / 0.7129 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.1886, allocations: 150.6 kB / 0.7131 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.1886, allocations: 158.6 kB / 0.7132 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.189, allocations: 436.9 kB / 0.7136 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1891, allocations: 169.1 kB / 0.7138 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.1891, allocations: 84.14 kB / 0.7139 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.1892, allocations: 75.28 kB / 0.7139 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.1892, allocations: 109.8 kB / 0.714 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1892, allocations: 0 / 0.714 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.127e-05/0.1893, allocations: 33.66 kB / 0.7141 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.1894, allocations: 130.7 kB / 0.7142 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1895, allocations: 129.8 kB / 0.7143 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1896, allocations: 25.7 kB / 0.7144 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.1896, allocations: 108 kB / 0.7145 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.1896, allocations: 0 / 0.7145 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1897, allocations: 21.64 kB / 0.7145 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1898, allocations: 322.8 kB / 0.7148 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.1898, allocations: 0 / 0.7148 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.1898, allocations: 12 kB / 0.7148 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.1899, allocations: 16.84 kB / 0.7148 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1899, allocations: 0 / 0.7148 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.19, allocations: 49.7 kB / 0.7149 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.19, allocations: 8.062 kB / 0.7149 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1901, allocations: 4 kB / 0.7149 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1901, allocations: 0 / 0.7149 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.1901, allocations: 0 / 0.7149 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1901, allocations: 3.938 kB / 0.7149 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.1901, allocations: 3.953 kB / 0.7149 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1901, allocations: 4 kB / 0.7149 GB, free: 4.59 MB / 0.5294 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.0001212/0.1902, allocations: 189 kB / 0.7151 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.1903, allocations: 112.9 kB / 0.7152 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.1904, allocations: 104.8 kB / 0.7153 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-05/0.1904, allocations: 184.2 kB / 0.7154 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.926e-05/0.1905, allocations: 184.2 kB / 0.7156 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.542e-05/0.1906, allocations: 180.2 kB / 0.7158 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1909, allocations: 384.2 kB / 0.7162 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/0.1909, allocations: 112.9 kB / 0.7163 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.191, allocations: 104.9 kB / 0.7164 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.1911, allocations: 180.2 kB / 0.7165 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.1911, allocations: 184.2 kB / 0.7167 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/0.1912, allocations: 176.3 kB / 0.7169 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.618e-05/0.1913, allocations: 184.2 kB / 0.7171 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.1915, allocations: 311.8 kB / 0.7174 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1916, allocations: 112.9 kB / 0.7175 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/0.1916, allocations: 184.3 kB / 0.7176 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.1917, allocations: 108.9 kB / 0.7177 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.1918, allocations: 180.3 kB / 0.7179 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.1919, allocations: 105 kB / 0.718 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.1919, allocations: 101.6 kB / 0.7181 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1919, allocations: 0 / 0.7181 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007714/0.1927, allocations: 295 kB / 0.7184 GB, free: 0.793 MB / 0.5294 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.001473/0.1942, allocations: 1.197 MB / 0.7196 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1943, allocations: 37.7 kB / 0.7196 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1943, allocations: 4 kB / 0.7196 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.1943, allocations: 4 kB / 0.7196 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1947, allocations: 468.5 kB / 0.7201 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1963, allocations: 1.608 MB / 0.7216 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1966, allocations: 0.6923 MB / 0.7223 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.1966, allocations: 0 / 0.7223 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1967, allocations: 11.44 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.1967, allocations: 7.938 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.2328, allocations: 7.318 MB / 0.7295 GB, free: 5.508 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.06, allocations: 6.938 kB / 0.7295 GB, free: 5.504 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.506219909992069] Failed to read output from testmodel.py, exit status != 0: 12.160304598975927 12.17735508 11.986939478 Calling exit ...