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.001585/0.001585, 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.00196/0.00196, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 8 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.9342/0.9342, allocations: 134 MB / 446.4 MB, free: 10.25 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="me",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="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.001951/0.001951, allocations: 61.88 kB / 0.6186 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1866, allocations: 85.91 MB / 0.7025 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005809/0.1924, allocations: 4.204 MB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.1963, allocations: 2.464 MB / 0.709 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.1967, allocations: 12 kB / 0.709 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.1985, allocations: 0.5402 MB / 0.7095 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006265/0.1992, allocations: 250 kB / 0.7098 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1994, allocations: 143.8 kB / 0.7099 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000926/0.2004, allocations: 0.8059 MB / 0.7107 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.2008, allocations: 243 kB / 0.7109 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.2012, allocations: 303 kB / 0.7112 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.2016, allocations: 334.6 kB / 0.7115 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.2017, allocations: 76 kB / 0.7116 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2018, allocations: 76 kB / 0.7117 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.202, allocations: 175.4 kB / 0.7119 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.2024, allocations: 382.3 kB / 0.7122 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.2034, allocations: 0.9924 MB / 0.7132 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2034, allocations: 0 / 0.7132 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2034, allocations: 0 / 0.7132 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.2034, allocations: 3.938 kB / 0.7132 GB, free: 6.395 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.001589/0.205, allocations: 0.8977 MB / 0.7141 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.2051, allocations: 8.625 kB / 0.7141 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2052, allocations: 94.7 kB / 0.7142 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2053, allocations: 76.47 kB / 0.7142 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.2061, allocations: 396.2 kB / 0.7146 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.2062, allocations: 41.12 kB / 0.7147 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.2063, allocations: 51.98 kB / 0.7147 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.2071, allocations: 426.4 kB / 0.7151 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2071, allocations: 3.953 kB / 0.7151 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.2071, allocations: 24 kB / 0.7151 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.2071, allocations: 12 kB / 0.7152 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.2079, allocations: 367.8 kB / 0.7155 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.2103, allocations: 1.476 MB / 0.7169 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.2108, allocations: 315.7 kB / 0.7172 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.2113, allocations: 280.5 kB / 0.7175 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2114, allocations: 4 kB / 0.7175 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.2114, allocations: 38.56 kB / 0.7176 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.2114, allocations: 0 / 0.7176 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009939/0.2124, allocations: 0.4985 MB / 0.718 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2124, allocations: 55.41 kB / 0.7181 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.2131, allocations: 485.9 kB / 0.7186 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2131, allocations: 29.7 kB / 0.7186 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.2133, allocations: 280.7 kB / 0.7189 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.2134, allocations: 154.6 kB / 0.719 GB, free: 248 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.2135, allocations: 66.08 kB / 0.7191 GB, free: 172 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2137, allocations: 358.8 kB / 0.7194 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.214, allocations: 120.7 kB / 0.7195 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.2142, allocations: 133.2 kB / 0.7196 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.2148, allocations: 302.1 kB / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2148, allocations: 0 / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000671/0.2154, allocations: 397.5 kB / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2155, allocations: 4 kB / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2155, allocations: 0 / 0.7203 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2155, allocations: 4 kB / 0.7203 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.216, allocations: 123.9 kB / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.216, allocations: 0 / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2162, allocations: 43.72 kB / 0.7205 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2163, allocations: 15.94 kB / 0.7205 GB, free: 14.68 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.0002392/0.2165, allocations: 197.7 kB / 0.7207 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.2166, allocations: 55.66 kB / 0.7207 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2167, allocations: 61.11 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2167, allocations: 4 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2167, allocations: 0 / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2167, allocations: 3.984 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.2175, allocations: 0.5508 MB / 0.7213 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2175, allocations: 4 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.218, allocations: 123.9 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.218, allocations: 4 kB / 0.7215 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.218, allocations: 12 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.218, allocations: 4 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.218, allocations: 0 / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2191, allocations: 0.6549 MB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2192, allocations: 59.64 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.2192, allocations: 8 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2194, allocations: 15.98 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.2195, allocations: 19.95 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2195, allocations: 12 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004263/0.22, allocations: 355.1 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.22, allocations: 4 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004234/0.2204, allocations: 143.7 kB / 0.7227 GB, free: 12.34 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.001422/0.2218, allocations: 1.212 MB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.2224, allocations: 303.4 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2224, allocations: 0 / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.2227, allocations: 171.8 kB / 0.7244 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.2234, allocations: 126.7 kB / 0.7245 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.2303, allocations: 4.867 MB / 0.7292 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.2308, allocations: 0.8702 MB / 0.7301 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.231, allocations: 52.34 kB / 0.7301 GB, free: 4.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.2313, allocations: 191.4 kB / 0.7303 GB, free: 4.438 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.2313, allocations: 0 / 0.7303 GB, free: 4.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.2924, allocations: 11.8 MB / 0.7418 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.83, allocations: 7.734 kB / 0.7418 GB, free: 8.918 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.086942448979244] Failed to read output from testmodel.py, exit status != 0: 11.938637150917202 12.230092416 12.023516633 Calling exit ...