Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6979/0.6979, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.8 kB / 169.7 MB, free: 1.734 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.583/1.583, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0008243/0.0008246, allocations: 94.16 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.072e-05, allocations: 4 kB / 0.5532 GB, free: 54.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 76.76 MB / 0.6282 GB, free: 9.973 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/0.7, allocations: 111.6 MB / 0.7372 GB, free: 1.781 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.7005, allocations: 113.6 kB / 0.7373 GB, free: 1.707 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04901/0.7495, allocations: 18.55 MB / 0.7554 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7495, allocations: 8 kB / 0.7554 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.7495, allocations: 4 kB / 0.7554 GB, free: 1.941 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006966/0.7502, allocations: 0.5726 MB / 0.756 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7503, allocations: 12.02 kB / 0.756 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.7504, allocations: 47.44 kB / 0.756 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.7509, allocations: 351.7 kB / 0.7564 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7509, allocations: 12.44 kB / 0.7564 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.7509, allocations: 20 kB / 0.7564 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.7513, allocations: 183.6 kB / 0.7566 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.7513, allocations: 7.906 kB / 0.7566 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.7513, allocations: 11.95 kB / 0.7566 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7513, allocations: 4 kB / 0.7566 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.7516, allocations: 141.7 kB / 0.7567 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.7527, allocations: 0.8741 MB / 0.7576 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.753, allocations: 142.7 kB / 0.7577 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.7531, allocations: 97.06 kB / 0.7578 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.7532, allocations: 3.938 kB / 0.7578 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.7532, allocations: 38.56 kB / 0.7579 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.7532, allocations: 0 / 0.7579 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003221/0.7535, allocations: 169.5 kB / 0.758 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.7536, allocations: 55.41 kB / 0.7581 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.754, allocations: 370.9 kB / 0.7584 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.754, allocations: 29.7 kB / 0.7585 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7542, allocations: 204.2 kB / 0.7587 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.7542, allocations: 67 kB / 0.7587 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.7542, allocations: 4 kB / 0.7587 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7544, allocations: 354.8 kB / 0.7591 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.7545, allocations: 40 kB / 0.7591 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.7545, allocations: 44 kB / 0.7591 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.7546, allocations: 50.91 kB / 0.7592 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7546, allocations: 0 / 0.7592 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002443/0.7549, allocations: 177.2 kB / 0.7594 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7549, allocations: 4 kB / 0.7594 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7549, allocations: 4 kB / 0.7594 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.755, allocations: 0 / 0.7594 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.7552, allocations: 63.95 kB / 0.7594 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7552, allocations: 0 / 0.7594 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.7554, allocations: 27.78 kB / 0.7595 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.7554, allocations: 8 kB / 0.7595 GB, free: 13.57 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.7555, allocations: 108.9 kB / 0.7596 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.7556, allocations: 43.53 kB / 0.7596 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.7556, allocations: 35.38 kB / 0.7596 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7557, allocations: 4 kB / 0.7597 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7557, allocations: 4 kB / 0.7597 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7557, allocations: 3.984 kB / 0.7597 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.7561, allocations: 377.2 kB / 0.76 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7561, allocations: 0 / 0.76 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.7563, allocations: 59.91 kB / 0.7601 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7564, allocations: 4 kB / 0.7601 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.7564, allocations: 7.984 kB / 0.7601 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7564, allocations: 0 / 0.7601 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7564, allocations: 0 / 0.7601 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.7568, allocations: 345.7 kB / 0.7604 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.7569, allocations: 116.7 kB / 0.7605 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.757, allocations: 11.94 kB / 0.7605 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7572, allocations: 23.95 kB / 0.7606 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.7572, allocations: 7.984 kB / 0.7606 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.7572, allocations: 4 kB / 0.7606 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003082/0.7575, allocations: 301.2 kB / 0.7609 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7575, allocations: 0 / 0.7609 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003405/0.7579, allocations: 79.84 kB / 0.7609 GB, free: 11.98 MB / 0.5105 GB 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 () * 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 (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.0003831/0.7583, allocations: 271.8 kB / 0.7612 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.7585, allocations: 119.4 kB / 0.7613 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7585, allocations: 0 / 0.7613 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.7586, allocations: 71.92 kB / 0.7614 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.7591, allocations: 84.17 kB / 0.7615 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.7601, allocations: 0.5247 MB / 0.762 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.7604, allocations: 0.807 MB / 0.7628 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00012/0.7606, allocations: 34.97 kB / 0.7628 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.7606, allocations: 27.38 kB / 0.7628 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.7606, allocations: 0 / 0.7628 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.009971/0.7706, allocations: 5.641 MB / 0.7683 GB, free: 4.457 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)