Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6823/0.6823, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 191.5 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 101.9 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 54.69 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1382, allocations: 75.47 MB / 0.6317 GB, free: 32.99 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004403/0.1427, allocations: 4.159 MB / 0.6358 GB, free: 28.8 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.145, allocations: 2.426 MB / 0.6382 GB, free: 26.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1452, allocations: 12 kB / 0.6382 GB, free: 26.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1465, allocations: 0.4968 MB / 0.6387 GB, free: 25.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1468, allocations: 214.4 kB / 0.6389 GB, free: 25.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.147, allocations: 119.9 kB / 0.639 GB, free: 25.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.1476, allocations: 0.8138 MB / 0.6398 GB, free: 24.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.148, allocations: 276.1 kB / 0.64 GB, free: 24.44 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1482, allocations: 266.9 kB / 0.6403 GB, free: 24.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.1485, allocations: 318.6 kB / 0.6406 GB, free: 23.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1486, allocations: 48 kB / 0.6406 GB, free: 23.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.1487, allocations: 48 kB / 0.6407 GB, free: 23.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1488, allocations: 143.4 kB / 0.6408 GB, free: 23.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.149, allocations: 362.2 kB / 0.6412 GB, free: 23.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.1496, allocations: 0.9966 MB / 0.6421 GB, free: 22.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1497, allocations: 3.938 kB / 0.6421 GB, free: 22.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1497, allocations: 0 / 0.6421 GB, free: 22.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1497, allocations: 0 / 0.6421 GB, free: 22.27 MB / 442.7 MB 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.001236/0.1509, allocations: 0.9502 MB / 0.6431 GB, free: 21.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.151, allocations: 8.031 kB / 0.6431 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1511, allocations: 72.09 kB / 0.6431 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.1516, allocations: 453.6 kB / 0.6436 GB, free: 20.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1516, allocations: 41.38 kB / 0.6436 GB, free: 20.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.1517, allocations: 52.36 kB / 0.6437 GB, free: 20.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.1523, allocations: 426.8 kB / 0.6441 GB, free: 20.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.1523, allocations: 7.844 kB / 0.6441 GB, free: 20.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1523, allocations: 24 kB / 0.6441 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1524, allocations: 12 kB / 0.6441 GB, free: 20.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1529, allocations: 371.7 kB / 0.6445 GB, free: 19.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1545, allocations: 1.52 MB / 0.646 GB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.155, allocations: 343.5 kB / 0.6463 GB, free: 17.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.1554, allocations: 324.5 kB / 0.6466 GB, free: 17.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1555, allocations: 11.92 kB / 0.6466 GB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1555, allocations: 39.17 kB / 0.6466 GB, free: 17.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 2.365e-06/0.1555, allocations: 0 / 0.6466 GB, free: 17.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007773/0.1563, allocations: 496.5 kB / 0.6471 GB, free: 16.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1563, allocations: 59.41 kB / 0.6472 GB, free: 16.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.1567, allocations: 485.9 kB / 0.6476 GB, free: 16.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1567, allocations: 33.7 kB / 0.6477 GB, free: 16.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1569, allocations: 280.3 kB / 0.6479 GB, free: 16.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.1569, allocations: 141.9 kB / 0.6481 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.157, allocations: 58.08 kB / 0.6481 GB, free: 15.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.1571, allocations: 362.8 kB / 0.6485 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.1573, allocations: 128.7 kB / 0.6486 GB, free: 15.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1576, allocations: 125.4 kB / 0.6487 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.158, allocations: 297.9 kB / 0.649 GB, free: 15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.158, allocations: 0 / 0.649 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005151/0.1585, allocations: 400.1 kB / 0.6494 GB, free: 14.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1585, allocations: 6.344 kB / 0.6494 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1585, allocations: 8 kB / 0.6494 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1586, allocations: 0 / 0.6494 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.159, allocations: 123.9 kB / 0.6495 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.159, allocations: 0 / 0.6495 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1593, allocations: 59.5 kB / 0.6496 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1593, allocations: 12 kB / 0.6496 GB, free: 14.4 MB / 442.7 MB 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.0001546/0.1594, allocations: 197.8 kB / 0.6498 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.1595, allocations: 55.31 kB / 0.6498 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.1596, allocations: 57.05 kB / 0.6499 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1596, allocations: 4 kB / 0.6499 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1596, allocations: 3.984 kB / 0.6499 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1596, allocations: 0 / 0.6499 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1601, allocations: 0.579 MB / 0.6504 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1601, allocations: 4 kB / 0.6504 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.1606, allocations: 127.8 kB / 0.6506 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1606, allocations: 4 kB / 0.6506 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1606, allocations: 8 kB / 0.6506 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1606, allocations: 4 kB / 0.6506 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1606, allocations: 0 / 0.6506 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.1648, allocations: 3.827 MB / 0.6543 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.1649, allocations: 136.4 kB / 0.6545 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.165, allocations: 15.92 kB / 0.6545 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1652, allocations: 23.92 kB / 0.6545 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.1652, allocations: 27.97 kB / 0.6545 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1653, allocations: 4 kB / 0.6545 GB, free: 9.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002907/0.1656, allocations: 359.1 kB / 0.6549 GB, free: 8.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1656, allocations: 0 / 0.6549 GB, free: 8.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000483/0.1661, allocations: 215.6 kB / 0.6551 GB, free: 8.555 MB / 442.7 MB 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.0001332/0.1662, allocations: 119.1 kB / 0.6552 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.1667, allocations: 323.7 kB / 0.6555 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1667, allocations: 0 / 0.6555 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.1669, allocations: 179.8 kB / 0.6557 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.1676, allocations: 133.8 kB / 0.6558 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1693, allocations: 1.703 MB / 0.6575 GB, free: 6.066 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1696, allocations: 0.8824 MB / 0.6583 GB, free: 5.156 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1698, allocations: 60.38 kB / 0.6584 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1699, allocations: 39.44 kB / 0.6584 GB, free: 5.055 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1699, allocations: 0 / 0.6584 GB, free: 5.055 MB / 442.7 MB Notification: Performance of Templates: time 0.01001/0.1799, allocations: 6.664 MB / 0.6649 GB, free: 14.51 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)