Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 106 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6566/0.6566, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 65.14 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1144, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004725/0.1192, allocations: 4.121 MB / 0.6361 GB, free: 248 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.122, allocations: 2.417 MB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1222, allocations: 12 kB / 0.6385 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.1234, allocations: 0.5285 MB / 0.639 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1238, allocations: 254 kB / 0.6393 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.124, allocations: 135.9 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.1247, allocations: 0.8214 MB / 0.6402 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.1251, allocations: 322.5 kB / 0.6405 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1254, allocations: 295 kB / 0.6408 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.1257, allocations: 330.6 kB / 0.6411 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.1258, allocations: 72 kB / 0.6412 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1259, allocations: 76 kB / 0.6413 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.126, allocations: 175.4 kB / 0.6414 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1263, allocations: 382.3 kB / 0.6418 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007401/0.1271, allocations: 1.004 MB / 0.6428 GB, free: 9.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1271, allocations: 0 / 0.6428 GB, free: 9.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1271, allocations: 4 kB / 0.6428 GB, free: 9.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1271, allocations: 0 / 0.6428 GB, free: 9.418 MB / 494.1 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.001261/0.1284, allocations: 0.9424 MB / 0.6437 GB, free: 8.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.1284, allocations: 8.031 kB / 0.6437 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1285, allocations: 76.09 kB / 0.6438 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.129, allocations: 461.6 kB / 0.6442 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1291, allocations: 33.38 kB / 0.6442 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.1291, allocations: 52.38 kB / 0.6443 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.1298, allocations: 434.7 kB / 0.6447 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1299, allocations: 0 / 0.6447 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.1299, allocations: 24 kB / 0.6447 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1299, allocations: 12 kB / 0.6447 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.1306, allocations: 363.8 kB / 0.6451 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1324, allocations: 1.524 MB / 0.6466 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.1329, allocations: 339.2 kB / 0.6469 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.1333, allocations: 323.3 kB / 0.6472 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1334, allocations: 15.78 kB / 0.6472 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1334, allocations: 38.5 kB / 0.6473 GB, free: 4.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 3.066e-06/0.1334, allocations: 3.984 kB / 0.6473 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008685/0.1343, allocations: 492.5 kB / 0.6477 GB, free: 4.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1343, allocations: 59.34 kB / 0.6478 GB, free: 4.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.1348, allocations: 489.9 kB / 0.6483 GB, free: 3.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1349, allocations: 33.7 kB / 0.6483 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.135, allocations: 276.3 kB / 0.6486 GB, free: 3.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1351, allocations: 149.8 kB / 0.6487 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.1352, allocations: 62.06 kB / 0.6488 GB, free: 3.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1354, allocations: 363.5 kB / 0.6491 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1356, allocations: 120.7 kB / 0.6492 GB, free: 2.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.1359, allocations: 133.2 kB / 0.6493 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.1363, allocations: 290.2 kB / 0.6496 GB, free: 2.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1363, allocations: 0 / 0.6496 GB, free: 2.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005952/0.1369, allocations: 396.4 kB / 0.65 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.137, allocations: 5.719 kB / 0.65 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.137, allocations: 3.938 kB / 0.65 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.137, allocations: 4 kB / 0.65 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.1375, allocations: 131.8 kB / 0.6501 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1375, allocations: 0 / 0.6501 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1377, allocations: 35.59 kB / 0.6502 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1377, allocations: 12 kB / 0.6502 GB, free: 1.574 MB / 494.1 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.0001896/0.1379, allocations: 193.8 kB / 0.6504 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.138, allocations: 55.31 kB / 0.6504 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1381, allocations: 69.09 kB / 0.6505 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1381, allocations: 4 kB / 0.6505 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1381, allocations: 0 / 0.6505 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1381, allocations: 0 / 0.6505 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.1387, allocations: 0.5712 MB / 0.6511 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1387, allocations: 0 / 0.6511 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.1392, allocations: 127.8 kB / 0.6512 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1392, allocations: 4 kB / 0.6512 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1392, allocations: 4 kB / 0.6512 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1393, allocations: 8 kB / 0.6512 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1393, allocations: 0 / 0.6512 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.1402, allocations: 0.6517 MB / 0.6518 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1403, allocations: 140.3 kB / 0.652 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.1404, allocations: 12 kB / 0.652 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1406, allocations: 15.98 kB / 0.652 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.1407, allocations: 27.97 kB / 0.652 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1407, allocations: 8 kB / 0.652 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003415/0.141, allocations: 355.1 kB / 0.6524 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.141, allocations: 3.938 kB / 0.6524 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003568/0.1414, allocations: 139.7 kB / 0.6525 GB, free: 15.11 MB / 0.4981 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.0001096/0.1415, allocations: 111.2 kB / 0.6526 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.1421, allocations: 331.7 kB / 0.6529 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1421, allocations: 0 / 0.6529 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.1424, allocations: 183.6 kB / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.1429, allocations: 132.1 kB / 0.6532 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1446, allocations: 1.203 MB / 0.6544 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.145, allocations: 0.8665 MB / 0.6552 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.1452, allocations: 48.39 kB / 0.6553 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.1453, allocations: 35.44 kB / 0.6553 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1453, allocations: 0 / 0.6553 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.01061/0.1559, allocations: 6.008 MB / 0.6612 GB, free: 6.281 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)