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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.8058/0.8058, allocations: 117.9 MB / 133.9 MB, free: 9.254 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.0009758/0.000976, allocations: 180.5 kB / 161.7 MB, free: 14.01 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.661/1.661, allocations: 205.4 MB / 394.8 MB, free: 10.03 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.0008611/0.0008614, allocations: 92.03 kB / 470.1 MB, free: 29.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 12 kB / 0.5424 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 74.55 MB / 0.6152 GB, free: 15.12 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.6144, allocations: 112.9 MB / 0.7254 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6147, allocations: 117.2 kB / 0.7255 GB, free: 23.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05479/0.6695, allocations: 22.8 MB / 0.7478 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.057e-06/0.6695, allocations: 4 kB / 0.7478 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.6696, allocations: 8 kB / 0.7478 GB, free: 6.434 MB / 0.4948 GB 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.002001/0.6716, allocations: 0.8464 MB / 0.7486 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6717, allocations: 8.031 kB / 0.7486 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.672, allocations: 72.09 kB / 0.7487 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.673, allocations: 452.1 kB / 0.7491 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.673, allocations: 41.38 kB / 0.7492 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6732, allocations: 48.81 kB / 0.7492 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.6741, allocations: 425.4 kB / 0.7496 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.6741, allocations: 192 / 0.7496 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.6742, allocations: 21.69 kB / 0.7497 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.6742, allocations: 12 kB / 0.7497 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.675, allocations: 379.5 kB / 0.75 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.6773, allocations: 1.549 MB / 0.7515 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.6778, allocations: 348.6 kB / 0.7519 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.6782, allocations: 353.7 kB / 0.7522 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.6783, allocations: 4 kB / 0.7522 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.6783, allocations: 37.94 kB / 0.7523 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.6783, allocations: 0.7656 kB / 0.7523 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0008743/0.6792, allocations: 0.5051 MB / 0.7527 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6792, allocations: 55.41 kB / 0.7528 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.6798, allocations: 479.1 kB / 0.7533 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6798, allocations: 36.95 kB / 0.7533 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6799, allocations: 269.5 kB / 0.7535 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.68, allocations: 146.1 kB / 0.7537 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.6801, allocations: 13.94 kB / 0.7537 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.6802, allocations: 360.5 kB / 0.754 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.6804, allocations: 124.6 kB / 0.7542 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.6806, allocations: 136.7 kB / 0.7543 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.681, allocations: 298.7 kB / 0.7546 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.681, allocations: 3.938 kB / 0.7546 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005463/0.6816, allocations: 396.2 kB / 0.755 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6816, allocations: 10.75 kB / 0.755 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6816, allocations: 0 / 0.755 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6817, allocations: 0 / 0.755 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.6821, allocations: 131.1 kB / 0.7551 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6821, allocations: 0 / 0.7551 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.6825, allocations: 50.41 kB / 0.7551 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.6825, allocations: 11.94 kB / 0.7552 GB, free: 456 kB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.6827, allocations: 197.3 kB / 0.7553 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.6828, allocations: 55.28 kB / 0.7554 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.6829, allocations: 62.36 kB / 0.7555 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6829, allocations: 4 kB / 0.7555 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.683, allocations: 0 / 0.7555 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.683, allocations: 3.984 kB / 0.7555 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.6837, allocations: 0.5727 MB / 0.756 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6837, allocations: 0 / 0.756 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.6843, allocations: 131 kB / 0.7561 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6843, allocations: 15.86 kB / 0.7562 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.6843, allocations: 6.562 kB / 0.7562 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6843, allocations: 8 kB / 0.7562 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6843, allocations: 3.938 kB / 0.7562 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6853, allocations: 0.6571 MB / 0.7568 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.6855, allocations: 135.6 kB / 0.7569 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.6856, allocations: 15 kB / 0.757 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6859, allocations: 27.8 kB / 0.757 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.686, allocations: 19.91 kB / 0.757 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.686, allocations: 11.06 kB / 0.757 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004428/0.6864, allocations: 349.9 kB / 0.7574 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6864, allocations: 0 / 0.7574 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005236/0.687, allocations: 154.3 kB / 0.7575 GB, free: 14.48 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004701/0.6874, allocations: 266.4 kB / 0.7578 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006068/0.6881, allocations: 335.5 kB / 0.7581 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6881, allocations: 0 / 0.7581 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.6884, allocations: 189.7 kB / 0.7583 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.6891, allocations: 128.1 kB / 0.7584 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.6915, allocations: 1.435 MB / 0.7598 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.6921, allocations: 0.875 MB / 0.7606 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.6924, allocations: 44.38 kB / 0.7607 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.6925, allocations: 35.44 kB / 0.7607 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.6925, allocations: 3.938 kB / 0.7607 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.01519/0.7077, allocations: 7.244 MB / 0.7678 GB, free: 4.336 MB / 0.5105 GB 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)