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.001773/0.001773, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002182/0.002182, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.836/0.836, allocations: 134 MB / 447.2 MB, free: 9.941 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="cs",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="cs",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.001914/0.001914, allocations: 62.52 kB / 0.6193 GB, free: 7.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1691, allocations: 85.9 MB / 0.7032 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00273/0.1718, allocations: 1.438 MB / 0.7046 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.1762, allocations: 2.658 MB / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.1762, allocations: 0 / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1762, allocations: 7.938 kB / 0.7072 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.1763, allocations: 11.86 kB / 0.7072 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.1805, allocations: 1.65 MB / 0.7088 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1806, allocations: 43.73 kB / 0.7089 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1806, allocations: 0 / 0.7089 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.1807, allocations: 19.92 kB / 0.7089 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.1807, allocations: 19.86 kB / 0.7089 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1807, allocations: 0 / 0.7089 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.1832, allocations: 1.583 MB / 0.7105 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1832, allocations: 3.938 kB / 0.7105 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1832, allocations: 23.86 kB / 0.7105 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1848, allocations: 1.083 MB / 0.7116 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1848, allocations: 0 / 0.7116 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1848, allocations: 0 / 0.7116 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1848, allocations: 0 / 0.7116 GB, free: 8.773 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.0006547/0.1854, allocations: 472 kB / 0.712 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1855, allocations: 8.031 kB / 0.712 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.136e-05/0.1855, allocations: 79.47 kB / 0.7121 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.1856, allocations: 110 kB / 0.7122 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.1856, allocations: 76.22 kB / 0.7123 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1858, allocations: 205.4 kB / 0.7125 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1858, allocations: 150.6 kB / 0.7126 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.1859, allocations: 154.6 kB / 0.7128 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.186, allocations: 108.9 kB / 0.7129 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.186, allocations: 75.28 kB / 0.7129 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.1861, allocations: 150.6 kB / 0.7131 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.1861, allocations: 154.5 kB / 0.7132 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.1862, allocations: 154.6 kB / 0.7134 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.1865, allocations: 444.8 kB / 0.7138 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.1866, allocations: 173.1 kB / 0.714 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.1867, allocations: 80.14 kB / 0.714 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1867, allocations: 79.28 kB / 0.7141 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.1867, allocations: 109.8 kB / 0.7142 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1867, allocations: 0 / 0.7142 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.15e-05/0.1868, allocations: 37.67 kB / 0.7143 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1869, allocations: 130.7 kB / 0.7144 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1871, allocations: 136.1 kB / 0.7145 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1871, allocations: 25.7 kB / 0.7145 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1871, allocations: 88.14 kB / 0.7146 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.1871, allocations: 4 kB / 0.7146 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1872, allocations: 25.7 kB / 0.7146 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1873, allocations: 314.8 kB / 0.7149 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.1873, allocations: 8 kB / 0.715 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.1874, allocations: 7.984 kB / 0.715 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.1874, allocations: 12.86 kB / 0.715 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1874, allocations: 0 / 0.715 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.1875, allocations: 53.59 kB / 0.715 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1875, allocations: 4 kB / 0.715 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.1876, allocations: 4 kB / 0.715 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1876, allocations: 0 / 0.715 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1876, allocations: 4.062 kB / 0.715 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1876, allocations: 3.984 kB / 0.715 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.1876, allocations: 4 kB / 0.715 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1876, allocations: 0 / 0.715 GB, free: 4.996 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.0001095/0.1877, allocations: 189.1 kB / 0.7152 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.188e-05/0.1878, allocations: 108.9 kB / 0.7153 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.1879, allocations: 112.7 kB / 0.7154 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/0.1879, allocations: 180.2 kB / 0.7156 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/0.188, allocations: 184.2 kB / 0.7158 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-05/0.1881, allocations: 180.2 kB / 0.716 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1883, allocations: 392.2 kB / 0.7163 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.1884, allocations: 104.9 kB / 0.7164 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.1884, allocations: 109 kB / 0.7165 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.572e-05/0.1885, allocations: 180.3 kB / 0.7167 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.1886, allocations: 180.3 kB / 0.7169 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.831e-05/0.1887, allocations: 188.2 kB / 0.7171 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.711e-05/0.1887, allocations: 176.3 kB / 0.7172 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1889, allocations: 319.6 kB / 0.7175 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1889, allocations: 109 kB / 0.7176 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.189, allocations: 184.2 kB / 0.7178 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.1891, allocations: 105 kB / 0.7179 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.1892, allocations: 184.2 kB / 0.7181 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.1892, allocations: 108.9 kB / 0.7182 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.1893, allocations: 99.27 kB / 0.7183 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1893, allocations: 0 / 0.7183 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007742/0.1901, allocations: 295 kB / 0.7186 GB, free: 1.188 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.001477/0.1915, allocations: 1.193 MB / 0.7197 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.1917, allocations: 41.64 kB / 0.7198 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1917, allocations: 0 / 0.7198 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.1917, allocations: 0 / 0.7198 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1921, allocations: 468.3 kB / 0.7202 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1936, allocations: 1.612 MB / 0.7218 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.1937, allocations: 79.28 kB / 0.7219 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.1937, allocations: 0 / 0.7219 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1937, allocations: 15.44 kB / 0.7219 GB, free: 13.66 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1937, allocations: 0 / 0.7219 GB, free: 13.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.2388, allocations: 7.439 MB / 0.7291 GB, free: 6.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.42, allocations: 6.469 kB / 0.7291 GB, free: 6.414 MB / 0.545 GB " [Timeout remaining time 647] (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: 16.103621312999167] Failed to read output from testmodel.py, exit status != 0: 12.58138275006786 12.607439719 12.417907128 Calling exit ...