Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") 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: 110 kB / 16.41 MB, free: 6.484 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.001024/0.001024, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.199/1.199, 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.6539/0.6539, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.62 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 76.19 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003582/0.1164, allocations: 3.014 MB / 0.6351 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1186, allocations: 2.144 MB / 0.6372 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1188, allocations: 4 kB / 0.6372 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.12, allocations: 0.4938 MB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1202, allocations: 150.8 kB / 0.6378 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.392e-05/0.1203, allocations: 59.94 kB / 0.6378 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.1207, allocations: 452.1 kB / 0.6383 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1209, allocations: 159.2 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1211, allocations: 151.4 kB / 0.6386 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1212, allocations: 187.1 kB / 0.6388 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1213, allocations: 40 kB / 0.6388 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.1214, allocations: 32 kB / 0.6388 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.1215, allocations: 95.67 kB / 0.6389 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1216, allocations: 218.9 kB / 0.6391 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.122, allocations: 0.5488 MB / 0.6397 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.122, allocations: 0 / 0.6397 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1221, allocations: 0 / 0.6397 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1221, allocations: 0 / 0.6397 GB, free: 12.61 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008682/0.1229, allocations: 0.7162 MB / 0.6404 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.123, allocations: 8.031 kB / 0.6404 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.123, allocations: 48.38 kB / 0.6404 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.1234, allocations: 362.1 kB / 0.6408 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1235, allocations: 16.81 kB / 0.6408 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.1235, allocations: 28.38 kB / 0.6408 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1239, allocations: 207.5 kB / 0.641 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1239, allocations: 0 / 0.641 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1239, allocations: 8 kB / 0.641 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1239, allocations: 8 kB / 0.641 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.1243, allocations: 161.7 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.1253, allocations: 0.8622 MB / 0.642 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1255, allocations: 150.5 kB / 0.6422 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1257, allocations: 112.8 kB / 0.6423 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1258, allocations: 8 kB / 0.6423 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.1258, allocations: 30.56 kB / 0.6423 GB, free: 9.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/0.1258, allocations: 3.984 kB / 0.6423 GB, free: 9.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005239/0.1263, allocations: 262.6 kB / 0.6426 GB, free: 9.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1264, allocations: 55.41 kB / 0.6426 GB, free: 9.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.1268, allocations: 417.7 kB / 0.643 GB, free: 8.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1268, allocations: 33.7 kB / 0.643 GB, free: 8.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1269, allocations: 208.2 kB / 0.6432 GB, free: 8.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.127, allocations: 63.09 kB / 0.6433 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.127, allocations: 29.67 kB / 0.6433 GB, free: 8.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1271, allocations: 354.7 kB / 0.6437 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1273, allocations: 59.95 kB / 0.6437 GB, free: 8.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1274, allocations: 58.03 kB / 0.6438 GB, free: 8.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.1277, allocations: 128.8 kB / 0.6439 GB, free: 8.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1277, allocations: 0 / 0.6439 GB, free: 8.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003528/0.1281, allocations: 216.3 kB / 0.6441 GB, free: 7.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1281, allocations: 4 kB / 0.6441 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1281, allocations: 3.984 kB / 0.6441 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1281, allocations: 3.938 kB / 0.6441 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1283, allocations: 55.97 kB / 0.6442 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1283, allocations: 0 / 0.6442 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1285, allocations: 19.83 kB / 0.6442 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1285, allocations: 4 kB / 0.6442 GB, free: 7.711 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 (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.0001343/0.1286, allocations: 161.8 kB / 0.6443 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1287, allocations: 39.53 kB / 0.6444 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.1288, allocations: 47.52 kB / 0.6444 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1288, allocations: 4 kB / 0.6444 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1288, allocations: 4 kB / 0.6444 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1288, allocations: 3.938 kB / 0.6444 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.1291, allocations: 369.3 kB / 0.6448 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1291, allocations: 4 kB / 0.6448 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1294, allocations: 59.89 kB / 0.6449 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1294, allocations: 0 / 0.6449 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1294, allocations: 3.938 kB / 0.6449 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1294, allocations: 4 kB / 0.6449 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1294, allocations: 0 / 0.6449 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.13, allocations: 376.9 kB / 0.6452 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.1301, allocations: 120.6 kB / 0.6453 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1301, allocations: 7.938 kB / 0.6453 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1303, allocations: 8 kB / 0.6453 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1303, allocations: 7.984 kB / 0.6454 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1303, allocations: 12.06 kB / 0.6454 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1306, allocations: 303.1 kB / 0.6457 GB, free: 6.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1306, allocations: 0 / 0.6457 GB, free: 6.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1309, allocations: 71.84 kB / 0.6457 GB, free: 6.047 MB / 494.1 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 9.929e-05/0.131, allocations: 107.2 kB / 0.6458 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1313, allocations: 155.7 kB / 0.646 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1313, allocations: 4 kB / 0.646 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1315, allocations: 75.91 kB / 0.6461 GB, free: 5.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.132, allocations: 98.59 kB / 0.6461 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.133, allocations: 0.7419 MB / 0.6469 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1333, allocations: 0.795 MB / 0.6476 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.921e-05/0.1334, allocations: 38.95 kB / 0.6477 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.1335, allocations: 23.44 kB / 0.6477 GB, free: 3.965 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1335, allocations: 0 / 0.6477 GB, free: 3.965 MB / 494.1 MB Notification: Performance of Templates: time 0.006941/0.1405, allocations: 3.993 MB / 0.6516 GB, free: 84 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)