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.001756/0.001756, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001585/0.001585, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.8 MB, free: 7.965 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.7824/0.7824, allocations: 134 MB / 447.2 MB, free: 10.27 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.001848/0.001848, allocations: 64.66 kB / 0.6194 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1689, allocations: 85.91 MB / 0.7033 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002628/0.1716, allocations: 1.464 MB / 0.7047 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.1762, allocations: 2.989 MB / 0.7076 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.1762, allocations: 0 / 0.7076 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.1763, allocations: 3.938 kB / 0.7076 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.1763, allocations: 15.84 kB / 0.7077 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.1804, allocations: 1.698 MB / 0.7093 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.1805, allocations: 43.69 kB / 0.7094 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1805, allocations: 3.984 kB / 0.7094 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.1805, allocations: 11.94 kB / 0.7094 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.018e-05/0.1806, allocations: 11.94 kB / 0.7094 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1806, allocations: 4 kB / 0.7094 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.1832, allocations: 1.759 MB / 0.7111 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1832, allocations: 11.86 kB / 0.7111 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.1833, allocations: 19.88 kB / 0.7111 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1849, allocations: 1.134 MB / 0.7122 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1849, allocations: 0 / 0.7122 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1849, allocations: 3.938 kB / 0.7122 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.1849, allocations: 0 / 0.7122 GB, free: 8.176 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.0006532/0.1855, allocations: 468.1 kB / 0.7127 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1856, allocations: 12.03 kB / 0.7127 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.608e-05/0.1856, allocations: 83.41 kB / 0.7128 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.1857, allocations: 106 kB / 0.7129 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.1858, allocations: 80.17 kB / 0.713 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1859, allocations: 199.8 kB / 0.7131 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.186, allocations: 154.5 kB / 0.7133 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.1861, allocations: 154.6 kB / 0.7134 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.1861, allocations: 105 kB / 0.7135 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.1862, allocations: 79.27 kB / 0.7136 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.1863, allocations: 150.6 kB / 0.7138 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.1863, allocations: 150.6 kB / 0.7139 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.1864, allocations: 162.5 kB / 0.7141 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1867, allocations: 440.9 kB / 0.7145 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1868, allocations: 165.1 kB / 0.7146 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1869, allocations: 80.14 kB / 0.7147 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.1869, allocations: 75.28 kB / 0.7148 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.409e-05/0.187, allocations: 113.8 kB / 0.7149 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.187, allocations: 0 / 0.7149 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.226e-05/0.187, allocations: 37.64 kB / 0.7149 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1871, allocations: 130.7 kB / 0.7151 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1873, allocations: 129.8 kB / 0.7152 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1873, allocations: 29.7 kB / 0.7152 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1874, allocations: 92.08 kB / 0.7153 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.1874, allocations: 4 kB / 0.7153 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1874, allocations: 21.72 kB / 0.7153 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1875, allocations: 318.8 kB / 0.7156 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.1876, allocations: 8 kB / 0.7156 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.1876, allocations: 4 kB / 0.7156 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.1876, allocations: 12.86 kB / 0.7156 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1876, allocations: 0 / 0.7156 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001255/0.1878, allocations: 53.62 kB / 0.7157 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1878, allocations: 8.062 kB / 0.7157 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.1878, allocations: 4 kB / 0.7157 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1878, allocations: 0 / 0.7157 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-06/0.1878, allocations: 4.062 kB / 0.7157 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1878, allocations: 7.922 kB / 0.7157 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.1878, allocations: 7.953 kB / 0.7157 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1878, allocations: 3.938 kB / 0.7157 GB, free: 4.391 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.0001118/0.188, allocations: 189.1 kB / 0.7159 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.188, allocations: 108.9 kB / 0.716 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.1881, allocations: 120.7 kB / 0.7161 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.189e-05/0.1882, allocations: 176.3 kB / 0.7163 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.247e-05/0.1883, allocations: 180.2 kB / 0.7165 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.213e-05/0.1883, allocations: 176.3 kB / 0.7166 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1886, allocations: 392.2 kB / 0.717 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-05/0.1886, allocations: 112.9 kB / 0.7171 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1887, allocations: 101 kB / 0.7172 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-05/0.1888, allocations: 180.2 kB / 0.7174 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.1888, allocations: 176.3 kB / 0.7176 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.481e-05/0.1889, allocations: 184.3 kB / 0.7177 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-05/0.189, allocations: 188.2 kB / 0.7179 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1892, allocations: 303.7 kB / 0.7182 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1893, allocations: 116.9 kB / 0.7183 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.1894, allocations: 180.2 kB / 0.7185 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1894, allocations: 104.9 kB / 0.7186 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.1895, allocations: 184.3 kB / 0.7188 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.1896, allocations: 104.9 kB / 0.7189 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.1897, allocations: 101.5 kB / 0.719 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1897, allocations: 0 / 0.719 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008387/0.1905, allocations: 298.9 kB / 0.7192 GB, free: 0.5938 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.001488/0.192, allocations: 1.186 MB / 0.7204 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1921, allocations: 41.62 kB / 0.7204 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1921, allocations: 4.062 kB / 0.7204 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1921, allocations: 4 kB / 0.7204 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1925, allocations: 463.7 kB / 0.7209 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1941, allocations: 1.626 MB / 0.7225 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1944, allocations: 0.6884 MB / 0.7232 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.1944, allocations: 0 / 0.7232 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1945, allocations: 11.44 kB / 0.7232 GB, free: 12.45 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1945, allocations: 0 / 0.7232 GB, free: 12.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.224, allocations: 7.344 MB / 0.7303 GB, free: 5.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 8.812 kB / 0.7303 GB, free: 5.289 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.810552395065315] Failed to read output from testmodel.py, exit status != 0: 11.476099019055255 11.493172997 11.305081118 Calling exit ...