Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.696/0.696, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 404.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 106.1 kB / 485.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009785/0.0009786, allocations: 51.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1331, allocations: 80.43 MB / 0.6422 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00423/0.1374, allocations: 3.061 MB / 0.6452 GB, free: 2.305 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.14, allocations: 2.11 MB / 0.6472 GB, free: 192 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.1402, allocations: 7.938 kB / 0.6472 GB, free: 184 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.1415, allocations: 479 kB / 0.6477 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1418, allocations: 131.1 kB / 0.6478 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.1419, allocations: 51.97 kB / 0.6479 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.1424, allocations: 471.4 kB / 0.6483 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1426, allocations: 139.9 kB / 0.6485 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1428, allocations: 143.3 kB / 0.6486 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.143, allocations: 183.2 kB / 0.6488 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.143, allocations: 24 kB / 0.6488 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.1431, allocations: 24 kB / 0.6488 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1432, allocations: 87.61 kB / 0.6489 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.1434, allocations: 203 kB / 0.6491 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.1439, allocations: 0.5293 MB / 0.6496 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1439, allocations: 0 / 0.6496 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1439, allocations: 0 / 0.6496 GB, free: 13.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1439, allocations: 0 / 0.6496 GB, free: 13.74 MB / 458.7 MB 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.001059/0.1449, allocations: 0.7045 MB / 0.6503 GB, free: 12.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.145, allocations: 8.031 kB / 0.6503 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.1451, allocations: 48.41 kB / 0.6503 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1455, allocations: 378 kB / 0.6507 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1456, allocations: 20.81 kB / 0.6507 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1456, allocations: 28.12 kB / 0.6508 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.146, allocations: 195.3 kB / 0.6509 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.146, allocations: 0 / 0.6509 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.146, allocations: 8 kB / 0.6509 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1461, allocations: 8 kB / 0.651 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.1464, allocations: 165.6 kB / 0.6511 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1475, allocations: 0.8662 MB / 0.652 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1478, allocations: 154.5 kB / 0.6521 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1481, allocations: 114.8 kB / 0.6522 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1481, allocations: 0 / 0.6522 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1481, allocations: 42.41 kB / 0.6523 GB, free: 10.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.1481, allocations: 4 kB / 0.6523 GB, free: 10.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005555/0.1487, allocations: 250.7 kB / 0.6525 GB, free: 10.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1487, allocations: 51.41 kB / 0.6526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.1492, allocations: 417.7 kB / 0.6529 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1492, allocations: 33.64 kB / 0.653 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1493, allocations: 204.2 kB / 0.6532 GB, free: 9.867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.1494, allocations: 74.94 kB / 0.6532 GB, free: 9.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.1494, allocations: 37.7 kB / 0.6533 GB, free: 9.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1496, allocations: 342.8 kB / 0.6536 GB, free: 9.406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1497, allocations: 55.95 kB / 0.6537 GB, free: 9.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1499, allocations: 59.97 kB / 0.6537 GB, free: 9.293 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.1502, allocations: 135 kB / 0.6538 GB, free: 9.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1502, allocations: 4 kB / 0.6539 GB, free: 9.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003526/0.1505, allocations: 203.2 kB / 0.654 GB, free: 8.953 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1505, allocations: 7.938 kB / 0.6541 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1506, allocations: 0 / 0.6541 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1506, allocations: 4 kB / 0.6541 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1508, allocations: 55.91 kB / 0.6541 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1508, allocations: 7.922 kB / 0.6541 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.151, allocations: 27.89 kB / 0.6541 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.151, allocations: 0 / 0.6541 GB, free: 8.852 MB / 458.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 (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.0001408/0.1511, allocations: 173.7 kB / 0.6543 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.1512, allocations: 35.56 kB / 0.6543 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.1513, allocations: 39.59 kB / 0.6544 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1513, allocations: 0 / 0.6544 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1513, allocations: 0 / 0.6544 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1513, allocations: 0 / 0.6544 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1517, allocations: 381.3 kB / 0.6547 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1517, allocations: 0 / 0.6547 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.152, allocations: 55.91 kB / 0.6548 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.152, allocations: 3.938 kB / 0.6548 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.152, allocations: 8 kB / 0.6548 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.152, allocations: 0 / 0.6548 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.152, allocations: 0 / 0.6548 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.1548, allocations: 2.227 MB / 0.657 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.1549, allocations: 116.7 kB / 0.6571 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1549, allocations: 4 kB / 0.6571 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1551, allocations: 20.05 kB / 0.6571 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1552, allocations: 11.92 kB / 0.6571 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1552, allocations: 4 kB / 0.6571 GB, free: 5.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.1555, allocations: 311.1 kB / 0.6574 GB, free: 5.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1555, allocations: 0 / 0.6574 GB, free: 5.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.1559, allocations: 111.8 kB / 0.6575 GB, free: 5.16 MB / 458.7 MB 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.0001274/0.1561, allocations: 107.2 kB / 0.6576 GB, free: 5.047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1564, allocations: 151.8 kB / 0.6578 GB, free: 4.898 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1564, allocations: 4 kB / 0.6578 GB, free: 4.895 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1566, allocations: 75.91 kB / 0.6579 GB, free: 4.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1572, allocations: 90.73 kB / 0.6579 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1585, allocations: 1.039 MB / 0.659 GB, free: 3.652 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1589, allocations: 0.7992 MB / 0.6597 GB, free: 2.824 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1591, allocations: 38.95 kB / 0.6598 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.1591, allocations: 23.44 kB / 0.6598 GB, free: 2.762 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1591, allocations: 0 / 0.6598 GB, free: 2.762 MB / 458.7 MB Notification: Performance of Templates: time 0.007603/0.1667, allocations: 4.118 MB / 0.6638 GB, free: 14.74 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)