Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001326/0.001326, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001978/0.001978, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8283/0.8283, allocations: 134 MB / 447.2 MB, free: 9.922 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001967/0.001967, allocations: 62.3 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1963, allocations: 85.91 MB / 0.7032 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.007702/0.204, allocations: 2.83 MB / 0.706 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00538/0.2093, allocations: 1.954 MB / 0.7079 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.2098, allocations: 4 kB / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.2124, allocations: 457.6 kB / 0.7083 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.2133, allocations: 162.8 kB / 0.7085 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.2136, allocations: 51.95 kB / 0.7085 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.2147, allocations: 453.8 kB / 0.7089 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2151, allocations: 107.8 kB / 0.709 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.2157, allocations: 167.3 kB / 0.7092 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.2162, allocations: 183.2 kB / 0.7094 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2164, allocations: 36 kB / 0.7094 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.2165, allocations: 36 kB / 0.7094 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.2168, allocations: 103.5 kB / 0.7095 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.2171, allocations: 171.2 kB / 0.7097 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.2181, allocations: 0.5525 MB / 0.7102 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.2181, allocations: 7.938 kB / 0.7103 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2181, allocations: 0 / 0.7103 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2181, allocations: 0 / 0.7103 GB, free: 9.777 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001664/0.2198, allocations: 0.6445 MB / 0.7109 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.2199, allocations: 12.62 kB / 0.7109 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.669e-05/0.2199, allocations: 4.625 kB / 0.7109 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.22, allocations: 58.67 kB / 0.711 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.2201, allocations: 44.66 kB / 0.711 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.221, allocations: 320.6 kB / 0.7113 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.2211, allocations: 20.38 kB / 0.7113 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.2212, allocations: 24 kB / 0.7113 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.2218, allocations: 199.3 kB / 0.7115 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2218, allocations: 0 / 0.7115 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.2219, allocations: 12 kB / 0.7115 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2219, allocations: 4 kB / 0.7116 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.2225, allocations: 165.6 kB / 0.7117 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.2244, allocations: 0.6823 MB / 0.7124 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.2249, allocations: 146.5 kB / 0.7125 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.2253, allocations: 112.7 kB / 0.7126 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2253, allocations: 0 / 0.7126 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.2253, allocations: 34.56 kB / 0.7127 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.2253, allocations: 0 / 0.7127 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.001036/0.2264, allocations: 255.9 kB / 0.7129 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2264, allocations: 51.41 kB / 0.713 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.2272, allocations: 421.7 kB / 0.7134 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.2273, allocations: 29.7 kB / 0.7134 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.2275, allocations: 204.4 kB / 0.7136 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2276, allocations: 71.36 kB / 0.7136 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2277, allocations: 33.72 kB / 0.7137 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.228, allocations: 346.8 kB / 0.714 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.2282, allocations: 55.97 kB / 0.7141 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2284, allocations: 61.86 kB / 0.7141 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.2289, allocations: 132.8 kB / 0.7142 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2289, allocations: 0 / 0.7142 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006874/0.2296, allocations: 207.5 kB / 0.7144 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.2296, allocations: 8 kB / 0.7145 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2296, allocations: 0 / 0.7145 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2296, allocations: 4 kB / 0.7145 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.2301, allocations: 59.89 kB / 0.7145 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2301, allocations: 4 kB / 0.7145 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.2304, allocations: 15.84 kB / 0.7145 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2304, allocations: 8 kB / 0.7145 GB, free: 5.199 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 (20): * Single equations (assignments): 20 * 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.0002746/0.2307, allocations: 169.7 kB / 0.7147 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2308, allocations: 39.7 kB / 0.7147 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2309, allocations: 43.52 kB / 0.7148 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2309, allocations: 11.98 kB / 0.7148 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2309, allocations: 0 / 0.7148 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2309, allocations: 0 / 0.7148 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.2316, allocations: 316.4 kB / 0.7151 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2316, allocations: 4 kB / 0.7151 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.232, allocations: 47.97 kB / 0.7151 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.232, allocations: 3.938 kB / 0.7151 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.2321, allocations: 4 kB / 0.7152 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2321, allocations: 4 kB / 0.7152 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2321, allocations: 0 / 0.7152 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.2331, allocations: 389.3 kB / 0.7155 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2332, allocations: 39.78 kB / 0.7156 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.2333, allocations: 4 kB / 0.7156 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2335, allocations: 11.98 kB / 0.7156 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.2336, allocations: 7.984 kB / 0.7156 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2336, allocations: 4 kB / 0.7156 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005633/0.2342, allocations: 307.1 kB / 0.7159 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2342, allocations: 0 / 0.7159 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005572/0.2348, allocations: 75.95 kB / 0.716 GB, free: 3.676 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.001448/0.2362, allocations: 0.919 MB / 0.7169 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.2368, allocations: 137.8 kB / 0.717 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.2368, allocations: 4 kB / 0.717 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2371, allocations: 75.95 kB / 0.7171 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.238, allocations: 92.27 kB / 0.7171 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.2457, allocations: 3.484 MB / 0.7206 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.246, allocations: 206.3 kB / 0.7207 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.2463, allocations: 30.97 kB / 0.7208 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.2465, allocations: 115.4 kB / 0.7209 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.2465, allocations: 3.938 kB / 0.7209 GB, free: 14.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/0.2954, allocations: 8.636 MB / 0.7293 GB, free: 6.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.96, allocations: 0 / 0.7293 GB, free: 6.137 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.832404176006094] Failed to read output from testmodel.py, exit status != 0: 12.122835546033457 12.138966374 11.91747546 Calling exit ...