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.001437/0.001437, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001833/0.001833, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.793 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.8012/0.8012, allocations: 134 MB / 446.4 MB, free: 9.949 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="me",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="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.002001/0.002001, allocations: 77.38 kB / 0.6185 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1602, allocations: 85.9 MB / 0.7024 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004301/0.1645, allocations: 2.849 MB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1674, allocations: 1.958 MB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.1676, allocations: 4 kB / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.1689, allocations: 453.8 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.1693, allocations: 154.8 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.1694, allocations: 59.94 kB / 0.7078 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1699, allocations: 453.2 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1701, allocations: 99.84 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.1703, allocations: 163.4 kB / 0.7084 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1706, allocations: 163.1 kB / 0.7086 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.1706, allocations: 36 kB / 0.7086 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.1707, allocations: 36 kB / 0.7087 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1708, allocations: 91.67 kB / 0.7088 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.171, allocations: 179.1 kB / 0.7089 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.1715, allocations: 0.5563 MB / 0.7095 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1715, allocations: 0 / 0.7095 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1715, allocations: 0 / 0.7095 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.1715, allocations: 4 kB / 0.7095 GB, free: 9.965 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.001024/0.1726, allocations: 0.6406 MB / 0.7101 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1726, allocations: 12.62 kB / 0.7101 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.1727, allocations: 62.72 kB / 0.7102 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.1727, allocations: 44.66 kB / 0.7102 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.1732, allocations: 316.6 kB / 0.7105 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1733, allocations: 28.48 kB / 0.7105 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.1733, allocations: 20 kB / 0.7106 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.1737, allocations: 195.3 kB / 0.7107 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1737, allocations: 0 / 0.7107 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1737, allocations: 12 kB / 0.7108 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1737, allocations: 7.984 kB / 0.7108 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.1741, allocations: 165.7 kB / 0.7109 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1752, allocations: 0.6862 MB / 0.7116 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1755, allocations: 138.6 kB / 0.7117 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1757, allocations: 99.34 kB / 0.7118 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1757, allocations: 11.94 kB / 0.7118 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1758, allocations: 30.56 kB / 0.7119 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1758, allocations: 0 / 0.7119 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.000605/0.1764, allocations: 263.5 kB / 0.7121 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1764, allocations: 59.34 kB / 0.7122 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1769, allocations: 413.7 kB / 0.7126 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1769, allocations: 29.7 kB / 0.7126 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1771, allocations: 212.4 kB / 0.7128 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.1771, allocations: 71.42 kB / 0.7129 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.1772, allocations: 33.7 kB / 0.7129 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1773, allocations: 346.8 kB / 0.7132 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1775, allocations: 55.97 kB / 0.7133 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1776, allocations: 58.55 kB / 0.7133 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1779, allocations: 132.8 kB / 0.7135 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1779, allocations: 0 / 0.7135 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003839/0.1783, allocations: 219.4 kB / 0.7137 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1783, allocations: 4 kB / 0.7137 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1783, allocations: 0 / 0.7137 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1783, allocations: 4 kB / 0.7137 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1786, allocations: 51.97 kB / 0.7137 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1786, allocations: 3.938 kB / 0.7137 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1787, allocations: 27.83 kB / 0.7138 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1787, allocations: 4 kB / 0.7138 GB, free: 5.383 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.0001561/0.1789, allocations: 165.8 kB / 0.7139 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.1789, allocations: 39.7 kB / 0.714 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.179, allocations: 39.53 kB / 0.714 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.179, allocations: 4 kB / 0.714 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.179, allocations: 3.938 kB / 0.714 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.179, allocations: 0 / 0.714 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.1794, allocations: 308.5 kB / 0.7143 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1794, allocations: 3.938 kB / 0.7143 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1797, allocations: 59.91 kB / 0.7144 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1797, allocations: 4 kB / 0.7144 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1797, allocations: 3.984 kB / 0.7144 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1797, allocations: 0 / 0.7144 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1797, allocations: 4 kB / 0.7144 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.1803, allocations: 371.1 kB / 0.7147 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.1804, allocations: 47.7 kB / 0.7148 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1804, allocations: 4 kB / 0.7148 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1806, allocations: 11.98 kB / 0.7148 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1806, allocations: 15.98 kB / 0.7148 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1806, allocations: 11.94 kB / 0.7148 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003251/0.1809, allocations: 303.1 kB / 0.7151 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1809, allocations: 0 / 0.7151 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002915/0.1812, allocations: 71.89 kB / 0.7152 GB, free: 3.871 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.0008886/0.1821, allocations: 0.9213 MB / 0.7161 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1825, allocations: 142.3 kB / 0.7162 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1825, allocations: 0 / 0.7162 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1826, allocations: 75.91 kB / 0.7163 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1832, allocations: 95.23 kB / 0.7164 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.1876, allocations: 3.488 MB / 0.7198 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.1878, allocations: 194.4 kB / 0.72 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.188, allocations: 30.95 kB / 0.72 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.1881, allocations: 123.4 kB / 0.7201 GB, free: 14.69 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.1881, allocations: 0 / 0.7201 GB, free: 14.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.2261, allocations: 8.981 MB / 0.7289 GB, free: 5.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.09, allocations: 7.266 kB / 0.7289 GB, free: 5.969 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.57712502591312] Failed to read output from testmodel.py, exit status != 0: 11.203656191937625 11.228133004 11.052146127 Calling exit ...