Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 192.3 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.308/1.308, allocations: 175.5 MB / 473.4 MB, free: 4.855 MB / 366.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.86 kB / 0.6521 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2138, allocations: 90.06 MB / 0.74 GB, free: 344 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005754/0.2196, allocations: 4.13 MB / 0.7441 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004533/0.2242, allocations: 2.417 MB / 0.7464 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.2249, allocations: 12 kB / 0.7464 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.2274, allocations: 0.5519 MB / 0.747 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007988/0.2282, allocations: 238 kB / 0.7472 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2285, allocations: 135.9 kB / 0.7473 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009835/0.2295, allocations: 0.8059 MB / 0.7481 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.2301, allocations: 330.4 kB / 0.7484 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.2305, allocations: 298.9 kB / 0.7487 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.2309, allocations: 326.6 kB / 0.749 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/0.231, allocations: 76 kB / 0.7491 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2311, allocations: 72 kB / 0.7492 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2313, allocations: 175.4 kB / 0.7493 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.2318, allocations: 386.2 kB / 0.7497 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2329, allocations: 0.9924 MB / 0.7507 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2329, allocations: 0 / 0.7507 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2329, allocations: 0 / 0.7507 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.2329, allocations: 0 / 0.7507 GB, free: 5.387 MB / 0.5606 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.2345, allocations: 0.9652 MB / 0.7516 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2346, allocations: 12.03 kB / 0.7516 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.2347, allocations: 76.47 kB / 0.7517 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.2355, allocations: 462 kB / 0.7521 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.2355, allocations: 37.38 kB / 0.7522 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.2356, allocations: 55.92 kB / 0.7522 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.2364, allocations: 422.5 kB / 0.7526 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.2365, allocations: 4 kB / 0.7526 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.2365, allocations: 16 kB / 0.7526 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.2365, allocations: 15.98 kB / 0.7527 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2373, allocations: 375.7 kB / 0.753 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.2395, allocations: 1.513 MB / 0.7545 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.24, allocations: 346.8 kB / 0.7548 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.2406, allocations: 323 kB / 0.7551 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2406, allocations: 5.453 kB / 0.7551 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2407, allocations: 46.5 kB / 0.7552 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.295e-06/0.2407, allocations: 0 / 0.7552 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001036/0.2417, allocations: 496.6 kB / 0.7557 GB, free: 76 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.2418, allocations: 67.25 kB / 0.7557 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.2424, allocations: 481.9 kB / 0.7562 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.2425, allocations: 33.7 kB / 0.7562 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.2427, allocations: 280.6 kB / 0.7565 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2428, allocations: 158.6 kB / 0.7566 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2429, allocations: 62.08 kB / 0.7567 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2431, allocations: 362.8 kB / 0.757 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.2434, allocations: 116.7 kB / 0.7572 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2437, allocations: 129.2 kB / 0.7573 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.2442, allocations: 294.4 kB / 0.7576 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2442, allocations: 3.938 kB / 0.7576 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007023/0.2449, allocations: 396.5 kB / 0.7579 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.245, allocations: 11.98 kB / 0.758 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.245, allocations: 0 / 0.758 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.245, allocations: 0 / 0.758 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.2455, allocations: 123.9 kB / 0.7581 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2455, allocations: 7.984 kB / 0.7581 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.2458, allocations: 35.73 kB / 0.7581 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2458, allocations: 12 kB / 0.7581 GB, free: 13.5 MB / 0.5762 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.0002572/0.2461, allocations: 205.6 kB / 0.7583 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.2462, allocations: 51.67 kB / 0.7584 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2463, allocations: 61.09 kB / 0.7584 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2463, allocations: 4 kB / 0.7584 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.2463, allocations: 4 kB / 0.7584 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2464, allocations: 0 / 0.7584 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.2471, allocations: 0.5791 MB / 0.759 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2471, allocations: 0 / 0.759 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.2476, allocations: 123.9 kB / 0.7591 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.2476, allocations: 4 kB / 0.7591 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2477, allocations: 7.938 kB / 0.7591 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.2477, allocations: 7.984 kB / 0.7591 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2477, allocations: 0 / 0.7591 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2488, allocations: 0.6445 MB / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.2489, allocations: 140.7 kB / 0.7599 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.249, allocations: 19.92 kB / 0.7599 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2492, allocations: 8 kB / 0.7599 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.2493, allocations: 27.91 kB / 0.76 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.2493, allocations: 8 kB / 0.76 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004416/0.2498, allocations: 355.1 kB / 0.7603 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2498, allocations: 4 kB / 0.7603 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004512/0.2502, allocations: 143.7 kB / 0.7604 GB, free: 11.03 MB / 0.5762 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.0001645/0.2504, allocations: 107.2 kB / 0.7605 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.2511, allocations: 320.3 kB / 0.7608 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2511, allocations: 4 kB / 0.7609 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2514, allocations: 187.4 kB / 0.761 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.2521, allocations: 123.8 kB / 0.7611 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.2542, allocations: 1.248 MB / 0.7624 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.2548, allocations: 0.8703 MB / 0.7632 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2549, allocations: 35.44 kB / 0.7633 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2549, allocations: 4 kB / 0.7633 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.01229/0.2672, allocations: 6.864 MB / 0.77 GB, free: 1.27 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.970812098996248] Failed to read output from testmodel.py, exit status != 0: 0.27486840200435836 0.289686202 0.053927806 Calling exit ...