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.001624/0.001624, allocations: 102.3 kB / 15.98 MB, free: 6.297 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.001646/0.001646, allocations: 192.5 kB / 16.91 MB, free: 6.148 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8281/0.8281, allocations: 126.7 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.89 kB / 0.4953 GB, free: 3.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 78.86 MB / 0.5723 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003706/0.3507, allocations: 3.055 MB / 0.5753 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.3529, allocations: 2.108 MB / 0.5773 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.3531, allocations: 5.5 kB / 0.5774 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.3544, allocations: 496.8 kB / 0.5778 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.3546, allocations: 122.8 kB / 0.5779 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.3548, allocations: 54.16 kB / 0.578 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.3552, allocations: 438.8 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3554, allocations: 165.9 kB / 0.5786 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3556, allocations: 153.8 kB / 0.5787 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3558, allocations: 192.9 kB / 0.5789 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.3558, allocations: 34.78 kB / 0.5789 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.3559, allocations: 34.34 kB / 0.579 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.356, allocations: 95.06 kB / 0.5791 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.3562, allocations: 217.4 kB / 0.5793 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.3566, allocations: 0.535 MB / 0.5798 GB, free: 25.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3567, allocations: 2.469 kB / 0.5798 GB, free: 25.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3567, allocations: 0 / 0.5798 GB, free: 25.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3567, allocations: 0.7969 kB / 0.5798 GB, free: 25.38 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.0008685/0.3576, allocations: 0.6968 MB / 0.5805 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3576, allocations: 13.66 kB / 0.5805 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.3577, allocations: 46.5 kB / 0.5805 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3581, allocations: 370.4 kB / 0.5809 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3581, allocations: 15.34 kB / 0.5809 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3581, allocations: 25.5 kB / 0.5809 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3585, allocations: 207 kB / 0.5811 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3585, allocations: 0.5 kB / 0.5811 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3586, allocations: 9.312 kB / 0.5811 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3586, allocations: 4.25 kB / 0.5811 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.3589, allocations: 164 kB / 0.5813 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.3599, allocations: 0.8674 MB / 0.5821 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3601, allocations: 162 kB / 0.5823 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3603, allocations: 108.7 kB / 0.5824 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3604, allocations: 6.875 kB / 0.5824 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3604, allocations: 40.41 kB / 0.5824 GB, free: 23.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.3604, allocations: 1.531 kB / 0.5824 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005305/0.3609, allocations: 255.6 kB / 0.5827 GB, free: 23.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.361, allocations: 54.47 kB / 0.5827 GB, free: 23.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.3613, allocations: 416.1 kB / 0.5831 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3614, allocations: 26.89 kB / 0.5832 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.3615, allocations: 210.3 kB / 0.5834 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3615, allocations: 61.69 kB / 0.5834 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3616, allocations: 33.17 kB / 0.5834 GB, free: 22.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.3616, allocations: 348.2 kB / 0.5838 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3618, allocations: 62.2 kB / 0.5838 GB, free: 22.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3619, allocations: 54.38 kB / 0.5839 GB, free: 22.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.3622, allocations: 135.9 kB / 0.584 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3622, allocations: 0 / 0.584 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003225/0.3625, allocations: 212.2 kB / 0.5842 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3626, allocations: 9.344 kB / 0.5842 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3626, allocations: 0 / 0.5842 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3626, allocations: 6.406 kB / 0.5842 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.3628, allocations: 50.38 kB / 0.5843 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3628, allocations: 0 / 0.5843 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.363, allocations: 25.98 kB / 0.5843 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.363, allocations: 5.469 kB / 0.5843 GB, free: 21.89 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.0001138/0.3631, allocations: 166.8 kB / 0.5845 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.3632, allocations: 39.34 kB / 0.5845 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.3633, allocations: 40.06 kB / 0.5846 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3633, allocations: 6.297 kB / 0.5846 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3633, allocations: 2.094 kB / 0.5846 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3633, allocations: 0 / 0.5846 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.3636, allocations: 377.4 kB / 0.5849 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3636, allocations: 3.438 kB / 0.5849 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3639, allocations: 57.78 kB / 0.585 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3639, allocations: 9.109 kB / 0.585 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3639, allocations: 0.9062 kB / 0.585 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3639, allocations: 1.062 kB / 0.585 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3639, allocations: 0 / 0.585 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.3644, allocations: 375.9 kB / 0.5853 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3645, allocations: 122.6 kB / 0.5855 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3645, allocations: 1.5 kB / 0.5855 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3647, allocations: 15.48 kB / 0.5855 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3648, allocations: 13.41 kB / 0.5855 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3648, allocations: 3.656 kB / 0.5855 GB, free: 20.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.365, allocations: 306.7 kB / 0.5858 GB, free: 20.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.365, allocations: 0 / 0.5858 GB, free: 20.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.3654, allocations: 72.28 kB / 0.5859 GB, free: 20.73 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 9.708e-05/0.3655, allocations: 109.6 kB / 0.586 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3658, allocations: 155.2 kB / 0.5861 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3658, allocations: 0 / 0.5861 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.366, allocations: 79.72 kB / 0.5862 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.3666, allocations: 89.95 kB / 0.5863 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3678, allocations: 0.8672 MB / 0.5871 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.368, allocations: 0.7964 MB / 0.5879 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.3681, allocations: 34.47 kB / 0.5879 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.141e-05/0.3682, allocations: 23.06 kB / 0.588 GB, free: 19.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3682, allocations: 0 / 0.588 GB, free: 19.14 MB / 446.1 MB Notification: Performance of Templates: time 0.007892/0.3761, allocations: 3.877 MB / 0.5917 GB, free: 17.32 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)