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.001217/0.001217, 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.001183/0.001183, 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.02 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004373/0.1521, allocations: 3.008 MB / 0.6351 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.1549, allocations: 2.141 MB / 0.6371 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.1552, allocations: 11.94 kB / 0.6372 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1565, allocations: 0.4922 MB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1568, allocations: 154.8 kB / 0.6378 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.157, allocations: 55.94 kB / 0.6378 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.1574, allocations: 453.8 kB / 0.6383 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1577, allocations: 159.2 kB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1579, allocations: 159.4 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1581, allocations: 175.2 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.1582, allocations: 36 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.1582, allocations: 36 kB / 0.6388 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1583, allocations: 95.61 kB / 0.6389 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1585, allocations: 222.9 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.159, allocations: 0.541 MB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.159, allocations: 7.938 kB / 0.6396 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.159, allocations: 4 kB / 0.6397 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1591, allocations: 0 / 0.6397 GB, free: 12.62 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.0009265/0.16, allocations: 0.7045 MB / 0.6403 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.16, allocations: 8.031 kB / 0.6403 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.1601, allocations: 52.38 kB / 0.6404 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.1606, allocations: 374.1 kB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1606, allocations: 12.81 kB / 0.6408 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.1607, allocations: 24.36 kB / 0.6408 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.1611, allocations: 207.6 kB / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1611, allocations: 0 / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1611, allocations: 8 kB / 0.641 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1612, allocations: 8 kB / 0.641 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.1615, allocations: 169.6 kB / 0.6412 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1627, allocations: 0.8505 MB / 0.642 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.163, allocations: 166.5 kB / 0.6422 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1632, allocations: 117.5 kB / 0.6423 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1632, allocations: 0 / 0.6423 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1633, allocations: 38.56 kB / 0.6423 GB, free: 9.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1633, allocations: 0 / 0.6423 GB, free: 9.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005867/0.1639, allocations: 257.3 kB / 0.6425 GB, free: 9.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1639, allocations: 51.41 kB / 0.6426 GB, free: 9.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.1644, allocations: 421.7 kB / 0.643 GB, free: 8.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1644, allocations: 25.7 kB / 0.643 GB, free: 8.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1645, allocations: 212.2 kB / 0.6432 GB, free: 8.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.1646, allocations: 59.11 kB / 0.6433 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1646, allocations: 37.67 kB / 0.6433 GB, free: 8.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1648, allocations: 346.8 kB / 0.6437 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1649, allocations: 59.95 kB / 0.6437 GB, free: 8.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1651, allocations: 65.73 kB / 0.6438 GB, free: 8.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1654, allocations: 133.7 kB / 0.6439 GB, free: 8.031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1654, allocations: 0 / 0.6439 GB, free: 8.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003682/0.1657, allocations: 207.5 kB / 0.6441 GB, free: 7.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1658, allocations: 9.391 kB / 0.6441 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1658, allocations: 0 / 0.6441 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1658, allocations: 7.938 kB / 0.6441 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.1661, allocations: 51.91 kB / 0.6442 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1661, allocations: 0 / 0.6442 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1662, allocations: 23.83 kB / 0.6442 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1662, allocations: 4 kB / 0.6442 GB, free: 7.73 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.0001496/0.1664, allocations: 165.8 kB / 0.6443 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.1665, allocations: 35.53 kB / 0.6444 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.1665, allocations: 47.52 kB / 0.6444 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1665, allocations: 4 kB / 0.6444 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1666, allocations: 0 / 0.6444 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1666, allocations: 0 / 0.6444 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.1669, allocations: 373.3 kB / 0.6448 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.167, allocations: 7.984 kB / 0.6448 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1672, allocations: 51.97 kB / 0.6448 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1672, allocations: 7.984 kB / 0.6449 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1673, allocations: 7.938 kB / 0.6449 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1673, allocations: 0 / 0.6449 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1673, allocations: 0 / 0.6449 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.1679, allocations: 374.9 kB / 0.6452 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.168, allocations: 124.7 kB / 0.6453 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.168, allocations: 7.938 kB / 0.6453 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1682, allocations: 4 kB / 0.6453 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1682, allocations: 15.98 kB / 0.6454 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1682, allocations: 3.984 kB / 0.6454 GB, free: 6.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.1686, allocations: 303.2 kB / 0.6457 GB, free: 6.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1686, allocations: 0 / 0.6457 GB, free: 6.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.1689, allocations: 71.84 kB / 0.6457 GB, free: 6.066 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 0.0001228/0.169, allocations: 115.2 kB / 0.6458 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1694, allocations: 142 kB / 0.646 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1694, allocations: 0 / 0.646 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.1696, allocations: 79.84 kB / 0.646 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.1701, allocations: 105.7 kB / 0.6461 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1713, allocations: 0.7457 MB / 0.6469 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1717, allocations: 0.7989 MB / 0.6477 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1718, allocations: 34.95 kB / 0.6477 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1718, allocations: 23.44 kB / 0.6477 GB, free: 3.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1719, allocations: 4 kB / 0.6477 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Templates: time 0.007709/0.1796, allocations: 3.985 MB / 0.6516 GB, free: 104 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)