Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001589/0.001589, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001902/0.001902, allocations: 218 kB / 23.04 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8538/0.8538, allocations: 134 MB / 447.2 MB, free: 10.66 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.00198/0.00198, allocations: 65.19 kB / 0.6194 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 85.91 MB / 0.7033 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006969/0.1924, allocations: 4.202 MB / 0.7074 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005523/0.1979, allocations: 2.46 MB / 0.7098 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.1984, allocations: 15.94 kB / 0.7098 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2001, allocations: 0.5325 MB / 0.7103 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.2007, allocations: 250 kB / 0.7105 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2009, allocations: 143.8 kB / 0.7107 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.2018, allocations: 0.802 MB / 0.7115 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.2022, allocations: 243 kB / 0.7117 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.2027, allocations: 310.9 kB / 0.712 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.2031, allocations: 334.6 kB / 0.7123 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2032, allocations: 76 kB / 0.7124 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2033, allocations: 75.94 kB / 0.7125 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.2035, allocations: 171.4 kB / 0.7126 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.2038, allocations: 386.3 kB / 0.713 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2049, allocations: 0.9963 MB / 0.714 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.2049, allocations: 3.984 kB / 0.714 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2049, allocations: 3.938 kB / 0.714 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.2049, allocations: 0 / 0.714 GB, free: 6.363 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001592/0.2065, allocations: 0.8977 MB / 0.7148 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.2066, allocations: 8.625 kB / 0.7149 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.97e-05/0.2066, allocations: 13.19 kB / 0.7149 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.743e-05/0.2067, allocations: 90.7 kB / 0.715 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2068, allocations: 76.47 kB / 0.715 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.2075, allocations: 396.2 kB / 0.7154 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.2076, allocations: 40.94 kB / 0.7154 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.2077, allocations: 52 kB / 0.7155 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.2085, allocations: 426.5 kB / 0.7159 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.2085, allocations: 11.89 kB / 0.7159 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.2085, allocations: 20 kB / 0.7159 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.2085, allocations: 15.98 kB / 0.7159 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.2093, allocations: 363.8 kB / 0.7163 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.2115, allocations: 1.473 MB / 0.7177 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.212, allocations: 322.4 kB / 0.718 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.2125, allocations: 284.5 kB / 0.7183 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2126, allocations: 8 kB / 0.7183 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2126, allocations: 38.56 kB / 0.7184 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.2126, allocations: 0 / 0.7184 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001006/0.2136, allocations: 494.5 kB / 0.7188 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2136, allocations: 55.41 kB / 0.7189 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.2142, allocations: 489.9 kB / 0.7193 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.2143, allocations: 33.7 kB / 0.7194 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2145, allocations: 280.7 kB / 0.7196 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2146, allocations: 158.6 kB / 0.7198 GB, free: 200 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2147, allocations: 62.06 kB / 0.7199 GB, free: 128 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2149, allocations: 366.7 kB / 0.7202 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.2152, allocations: 116.7 kB / 0.7203 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2154, allocations: 133.2 kB / 0.7204 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.216, allocations: 299 kB / 0.7207 GB, free: 15.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.216, allocations: 0 / 0.7207 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006568/0.2166, allocations: 388.8 kB / 0.7211 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2167, allocations: 4 kB / 0.7211 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2167, allocations: 0 / 0.7211 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2167, allocations: 4 kB / 0.7211 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.2172, allocations: 139.7 kB / 0.7212 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2172, allocations: 3.938 kB / 0.7212 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2174, allocations: 35.73 kB / 0.7213 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2175, allocations: 8 kB / 0.7213 GB, free: 14.64 MB / 0.545 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002337/0.2177, allocations: 201.7 kB / 0.7215 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.2178, allocations: 51.67 kB / 0.7215 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2179, allocations: 65.09 kB / 0.7216 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2179, allocations: 8 kB / 0.7216 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2179, allocations: 0 / 0.7216 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2179, allocations: 0 / 0.7216 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.2186, allocations: 0.5508 MB / 0.7221 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2186, allocations: 0 / 0.7221 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.2191, allocations: 123.9 kB / 0.7223 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2191, allocations: 4 kB / 0.7223 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2192, allocations: 4 kB / 0.7223 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.2192, allocations: 4 kB / 0.7223 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2192, allocations: 4 kB / 0.7223 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2202, allocations: 0.6549 MB / 0.7229 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.2203, allocations: 59.64 kB / 0.723 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.2204, allocations: 8 kB / 0.723 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2206, allocations: 15.98 kB / 0.723 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2207, allocations: 27.95 kB / 0.723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2207, allocations: 12 kB / 0.723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000413/0.2211, allocations: 351.1 kB / 0.7234 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2211, allocations: 0 / 0.7234 GB, free: 12.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004066/0.2215, allocations: 147.7 kB / 0.7235 GB, free: 12.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001378/0.2229, allocations: 1.212 MB / 0.7247 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006096/0.2235, allocations: 311.3 kB / 0.725 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2235, allocations: 0 / 0.725 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.2238, allocations: 167.8 kB / 0.7251 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.2245, allocations: 128.6 kB / 0.7253 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.2312, allocations: 4.859 MB / 0.73 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.2317, allocations: 0.8741 MB / 0.7309 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.2319, allocations: 52.39 kB / 0.7309 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.2322, allocations: 187.4 kB / 0.7311 GB, free: 4.398 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.2322, allocations: 4 kB / 0.7311 GB, free: 4.395 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.2721, allocations: 11.82 MB / 0.7426 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.1, allocations: 22.08 kB / 0.7427 GB, free: 8.855 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.117003937950358] Failed to read output from testmodel.py, exit status != 0: 12.257219436927699 12.547289044 12.339386549 Calling exit ...