Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001334/0.001334, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001565/0.001565, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.969 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.8235/0.8235, allocations: 134 MB / 446.4 MB, free: 10.2 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00213/0.00213, allocations: 63.5 kB / 0.6186 GB, free: 7.145 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1659, allocations: 85.9 MB / 0.7025 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002784/0.1687, allocations: 1.469 MB / 0.7039 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004926/0.1736, allocations: 2.981 MB / 0.7069 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.1736, allocations: 3.938 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1737, allocations: 4 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.1737, allocations: 23.78 kB / 0.7069 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.1783, allocations: 1.684 MB / 0.7085 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1784, allocations: 43.67 kB / 0.7086 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.1784, allocations: 7.984 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.1785, allocations: 15.92 kB / 0.7086 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.1785, allocations: 15.94 kB / 0.7086 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1785, allocations: 0 / 0.7086 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.1815, allocations: 1.764 MB / 0.7103 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1816, allocations: 7.938 kB / 0.7103 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1816, allocations: 15.88 kB / 0.7104 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1837, allocations: 1.134 MB / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1838, allocations: 0 / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1838, allocations: 0 / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.1838, allocations: 4 kB / 0.7115 GB, free: 8.137 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.0007803/0.1845, allocations: 468.1 kB / 0.7119 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1846, allocations: 8.031 kB / 0.7119 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.1847, allocations: 114 kB / 0.712 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1847, allocations: 84.17 kB / 0.7121 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1849, allocations: 195.9 kB / 0.7123 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.185, allocations: 154.5 kB / 0.7124 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.185, allocations: 158.5 kB / 0.7126 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.299e-05/0.1851, allocations: 109 kB / 0.7127 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.1852, allocations: 83.22 kB / 0.7128 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.1852, allocations: 150.6 kB / 0.7129 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/0.1853, allocations: 150.6 kB / 0.7131 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1854, allocations: 154.5 kB / 0.7132 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1857, allocations: 440.9 kB / 0.7136 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1858, allocations: 169.1 kB / 0.7138 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1859, allocations: 88.08 kB / 0.7139 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.1859, allocations: 75.28 kB / 0.714 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/0.186, allocations: 109.8 kB / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 4.248e-06/0.186, allocations: 4 kB / 0.7141 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.52e-05/0.1861, allocations: 33.66 kB / 0.7141 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.1861, allocations: 126.7 kB / 0.7142 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1863, allocations: 129.8 kB / 0.7143 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1863, allocations: 25.7 kB / 0.7144 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1864, allocations: 104.1 kB / 0.7145 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1864, allocations: 0 / 0.7145 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1864, allocations: 13.72 kB / 0.7145 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1866, allocations: 326.8 kB / 0.7148 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.1866, allocations: 7.922 kB / 0.7148 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.1866, allocations: 4 kB / 0.7148 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.1867, allocations: 16.86 kB / 0.7148 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1867, allocations: 0 / 0.7148 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001316/0.1868, allocations: 45.7 kB / 0.7149 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1868, allocations: 4 kB / 0.7149 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.1868, allocations: 7.984 kB / 0.7149 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1869, allocations: 0 / 0.7149 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1869, allocations: 0 / 0.7149 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1869, allocations: 4.062 kB / 0.7149 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1869, allocations: 3.953 kB / 0.7149 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.1869, allocations: 7.984 kB / 0.7149 GB, free: 4.43 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.0001147/0.187, allocations: 193 kB / 0.7151 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.1871, allocations: 108.9 kB / 0.7152 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.1871, allocations: 108.8 kB / 0.7153 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.758e-05/0.1872, allocations: 184.2 kB / 0.7155 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.845e-05/0.1873, allocations: 188.2 kB / 0.7156 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-05/0.1874, allocations: 180.2 kB / 0.7158 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.1877, allocations: 384.2 kB / 0.7162 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.717e-05/0.1878, allocations: 105 kB / 0.7163 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.1878, allocations: 108.9 kB / 0.7164 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.798e-05/0.1879, allocations: 188.3 kB / 0.7166 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.188, allocations: 180.2 kB / 0.7167 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.367e-05/0.1881, allocations: 176.3 kB / 0.7169 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/0.1882, allocations: 176.3 kB / 0.7171 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1883, allocations: 319.7 kB / 0.7174 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.1884, allocations: 112.9 kB / 0.7175 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.806e-05/0.1885, allocations: 184.2 kB / 0.7176 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.1886, allocations: 105 kB / 0.7177 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.1887, allocations: 180.2 kB / 0.7179 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.1887, allocations: 105 kB / 0.718 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.1888, allocations: 105.6 kB / 0.7181 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1888, allocations: 0 / 0.7181 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008353/0.1896, allocations: 291 kB / 0.7184 GB, free: 0.6289 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.001805/0.1914, allocations: 1.197 MB / 0.7196 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1916, allocations: 41.69 kB / 0.7196 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1916, allocations: 0 / 0.7196 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.1916, allocations: 0 / 0.7196 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.192, allocations: 463.7 kB / 0.72 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1937, allocations: 1.608 MB / 0.7216 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1941, allocations: 0.6883 MB / 0.7223 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.1941, allocations: 0 / 0.7223 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.1941, allocations: 15.44 kB / 0.7223 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.1941, allocations: 4.031 kB / 0.7223 GB, free: 12.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.2327, allocations: 7.319 MB / 0.7295 GB, free: 5.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.11, allocations: 11.73 kB / 0.7295 GB, free: 5.336 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.669877402950078] Failed to read output from testmodel.py, exit status != 0: 12.217815993120894 12.243941723 12.055291032 Calling exit ...