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.001375/0.001375, allocations: 104.1 kB / 15.98 MB, free: 6.348 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.001095/0.001095, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.742/0.742, allocations: 122.9 MB / 413.6 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3241, allocations: 77.92 MB / 0.5667 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004582/0.3288, allocations: 3.055 MB / 0.5697 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.3315, allocations: 2.103 MB / 0.5718 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.3317, allocations: 10.44 kB / 0.5718 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.3332, allocations: 476.7 kB / 0.5722 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.3336, allocations: 134.9 kB / 0.5724 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.3337, allocations: 50.28 kB / 0.5724 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.3342, allocations: 443.4 kB / 0.5728 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.3345, allocations: 160.3 kB / 0.573 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3348, allocations: 153.8 kB / 0.5731 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.335, allocations: 189.5 kB / 0.5733 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.3351, allocations: 34.62 kB / 0.5733 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.3352, allocations: 34.75 kB / 0.5734 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3353, allocations: 100.1 kB / 0.5735 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3355, allocations: 213.5 kB / 0.5737 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.3361, allocations: 0.541 MB / 0.5742 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3361, allocations: 0 / 0.5742 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3361, allocations: 2.594 kB / 0.5742 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3361, allocations: 0 / 0.5742 GB, free: 27.29 MB / 446.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.0009779/0.3371, allocations: 0.7063 MB / 0.5749 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3371, allocations: 14.34 kB / 0.5749 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.3372, allocations: 46.47 kB / 0.575 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.3376, allocations: 376.9 kB / 0.5753 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3377, allocations: 18.81 kB / 0.5753 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.3377, allocations: 21.25 kB / 0.5753 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.3381, allocations: 205.3 kB / 0.5755 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3382, allocations: 2.031 kB / 0.5755 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3382, allocations: 9.688 kB / 0.5756 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3382, allocations: 5.406 kB / 0.5756 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.3386, allocations: 170.8 kB / 0.5757 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3397, allocations: 0.8624 MB / 0.5766 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.34, allocations: 154.5 kB / 0.5767 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.3402, allocations: 111.7 kB / 0.5768 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3403, allocations: 4.297 kB / 0.5768 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.3403, allocations: 32.66 kB / 0.5769 GB, free: 25.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.214e-06/0.3403, allocations: 1.781 kB / 0.5769 GB, free: 25.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005728/0.3409, allocations: 260.4 kB / 0.5771 GB, free: 25.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3409, allocations: 55.38 kB / 0.5772 GB, free: 25.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.3414, allocations: 418.1 kB / 0.5776 GB, free: 25.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3414, allocations: 30.58 kB / 0.5776 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3415, allocations: 207.9 kB / 0.5778 GB, free: 24.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.3416, allocations: 63.44 kB / 0.5778 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.3416, allocations: 32.5 kB / 0.5779 GB, free: 24.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.3417, allocations: 348.4 kB / 0.5782 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3419, allocations: 58.09 kB / 0.5783 GB, free: 24.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.342, allocations: 55.38 kB / 0.5783 GB, free: 24.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3423, allocations: 133.9 kB / 0.5784 GB, free: 24.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3423, allocations: 1.531 kB / 0.5784 GB, free: 24.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003653/0.3427, allocations: 207.1 kB / 0.5786 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3427, allocations: 5.375 kB / 0.5786 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3427, allocations: 1.562 kB / 0.5786 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3427, allocations: 6.422 kB / 0.5787 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.343, allocations: 58.39 kB / 0.5787 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.343, allocations: 0.9688 kB / 0.5787 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3432, allocations: 25.58 kB / 0.5787 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3432, allocations: 11.05 kB / 0.5787 GB, free: 24.23 MB / 446.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.0001222/0.3433, allocations: 166.1 kB / 0.5789 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.3434, allocations: 36.34 kB / 0.5789 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.217e-05/0.3435, allocations: 43.7 kB / 0.579 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3435, allocations: 2.562 kB / 0.579 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3435, allocations: 0.6562 kB / 0.579 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3435, allocations: 1.719 kB / 0.579 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.3439, allocations: 379 kB / 0.5793 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3439, allocations: 2.156 kB / 0.5793 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3442, allocations: 58.78 kB / 0.5794 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3442, allocations: 1.094 kB / 0.5794 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3442, allocations: 5.688 kB / 0.5794 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3442, allocations: 1.688 kB / 0.5794 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3442, allocations: 0.8125 kB / 0.5794 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.3448, allocations: 382.6 kB / 0.5798 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.3449, allocations: 115.4 kB / 0.5799 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3449, allocations: 7.172 kB / 0.5799 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3451, allocations: 12.58 kB / 0.5799 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3451, allocations: 14.34 kB / 0.5799 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3452, allocations: 7.781 kB / 0.5799 GB, free: 23.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.3455, allocations: 302 kB / 0.5802 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3455, allocations: 0 / 0.5802 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3458, allocations: 71.69 kB / 0.5803 GB, free: 23.23 MB / 446.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.0001117/0.3459, allocations: 113.7 kB / 0.5804 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3463, allocations: 150.7 kB / 0.5805 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3463, allocations: 0 / 0.5805 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3465, allocations: 78.73 kB / 0.5806 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.3471, allocations: 107.2 kB / 0.5807 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3483, allocations: 0.8653 MB / 0.5816 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3486, allocations: 0.8023 MB / 0.5823 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.3488, allocations: 35 kB / 0.5824 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.3488, allocations: 23.25 kB / 0.5824 GB, free: 21.76 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3489, allocations: 0 / 0.5824 GB, free: 21.76 MB / 446.1 MB Notification: Performance of Templates: time 0.007956/0.3568, allocations: 3.881 MB / 0.5862 GB, free: 20.27 MB / 446.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)