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.001426/0.001426, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001525/0.001525, allocations: 214.4 kB / 22.99 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8528/0.8528, allocations: 134 MB / 447.2 MB, free: 9.926 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002319/0.002319, allocations: 67.61 kB / 0.6198 GB, free: 6.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1873, allocations: 85.91 MB / 0.7036 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006553/0.1939, allocations: 3.797 MB / 0.7074 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004321/0.1982, allocations: 2.215 MB / 0.7095 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.1988, allocations: 8 kB / 0.7095 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.2009, allocations: 0.4928 MB / 0.71 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008712/0.2018, allocations: 250 kB / 0.7102 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2022, allocations: 143.8 kB / 0.7104 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2035, allocations: 0.8097 MB / 0.7112 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.204, allocations: 223 kB / 0.7114 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.2046, allocations: 299 kB / 0.7117 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.2051, allocations: 294.5 kB / 0.712 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2052, allocations: 72 kB / 0.712 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2054, allocations: 76 kB / 0.7121 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2056, allocations: 167.5 kB / 0.7123 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.206, allocations: 314.6 kB / 0.7126 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2072, allocations: 1 MB / 0.7135 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2072, allocations: 4 kB / 0.7135 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2072, allocations: 0 / 0.7135 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.2072, allocations: 7.938 kB / 0.7135 GB, free: 6.371 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.001609/0.2088, allocations: 0.8938 MB / 0.7144 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2088, allocations: 12.02 kB / 0.7144 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.209, allocations: 80.47 kB / 0.7145 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.2097, allocations: 396.2 kB / 0.7149 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.2098, allocations: 41.36 kB / 0.7149 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.2099, allocations: 55.94 kB / 0.715 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.2107, allocations: 426.4 kB / 0.7154 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2107, allocations: 7.938 kB / 0.7154 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.2108, allocations: 20 kB / 0.7154 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.2108, allocations: 12 kB / 0.7154 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.2115, allocations: 359.8 kB / 0.7158 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.2136, allocations: 1.168 MB / 0.7169 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.2141, allocations: 315.2 kB / 0.7172 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.2146, allocations: 288.5 kB / 0.7175 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2147, allocations: 4 kB / 0.7175 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2147, allocations: 38.55 kB / 0.7175 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.2147, allocations: 0 / 0.7175 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001098/0.2158, allocations: 490.6 kB / 0.718 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2159, allocations: 55.41 kB / 0.718 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.2164, allocations: 445.9 kB / 0.7185 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2165, allocations: 29.7 kB / 0.7185 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2167, allocations: 288.5 kB / 0.7188 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.2168, allocations: 158.6 kB / 0.7189 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2169, allocations: 58.08 kB / 0.719 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.2172, allocations: 358.8 kB / 0.7193 GB, free: 280 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.2174, allocations: 116.7 kB / 0.7194 GB, free: 164 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.2177, allocations: 133.2 kB / 0.7196 GB, free: 32 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.2183, allocations: 299 kB / 0.7198 GB, free: 15.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2183, allocations: 0 / 0.7198 GB, free: 15.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007227/0.2191, allocations: 384.8 kB / 0.7202 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.2191, allocations: 8 kB / 0.7202 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2191, allocations: 0 / 0.7202 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2191, allocations: 3.938 kB / 0.7202 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.2196, allocations: 131.8 kB / 0.7203 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2197, allocations: 7.938 kB / 0.7204 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.2199, allocations: 27.84 kB / 0.7204 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2199, allocations: 8 kB / 0.7204 GB, free: 15.17 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.0002761/0.2202, allocations: 193.8 kB / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2203, allocations: 55.61 kB / 0.7206 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2204, allocations: 56.88 kB / 0.7207 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2204, allocations: 7.984 kB / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2204, allocations: 3.938 kB / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2204, allocations: 0 / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.2212, allocations: 428.8 kB / 0.7211 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2212, allocations: 0 / 0.7211 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.2217, allocations: 127.8 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.2217, allocations: 4 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2217, allocations: 4 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2217, allocations: 4 kB / 0.7212 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2217, allocations: 4 kB / 0.7212 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2228, allocations: 0.6472 MB / 0.7219 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.223, allocations: 59.62 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.223, allocations: 8 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2233, allocations: 12 kB / 0.7219 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.2233, allocations: 27.94 kB / 0.722 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2233, allocations: 8 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004686/0.2238, allocations: 319.1 kB / 0.7223 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2238, allocations: 0 / 0.7223 GB, free: 13.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004742/0.2243, allocations: 151.6 kB / 0.7224 GB, free: 13.03 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.0001718/0.2245, allocations: 111.2 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006847/0.2251, allocations: 319.4 kB / 0.7228 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2251, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.2255, allocations: 168.1 kB / 0.723 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.2261, allocations: 108.4 kB / 0.7231 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2284, allocations: 1.228 MB / 0.7243 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2287, allocations: 271 kB / 0.7246 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2288, allocations: 39.44 kB / 0.7246 GB, free: 10.73 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/0.2288, allocations: 0 / 0.7246 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Templates: time 0.0122/0.241, allocations: 6.698 MB / 0.7311 GB, free: 4.082 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.503355413675308] Failed to read output from testmodel.py, exit status != 0: 0.249330114107579 0.266029038 0.055349764 Calling exit ...