Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 81.95 kB / 21.44 MB, free: 3.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 174.3 kB / 24.84 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9248/0.9248, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5923/0.5923, allocations: 115 MB / 376.8 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.543e-05, allocations: 5.703 kB / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00325/0.003265, allocations: 4.144 MB / 487 MB, free: 8.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.005246, allocations: 2.375 MB / 489.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.005419, allocations: 10.12 kB / 489.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.006343, allocations: 0.5204 MB / 489.9 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.006564, allocations: 257.3 kB / 490.1 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.006683, allocations: 148.2 kB / 490.3 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.007149, allocations: 0.8387 MB / 491.1 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.007388, allocations: 214.2 kB / 491.3 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.00774, allocations: 460.9 kB / 491.8 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.007976, allocations: 249.2 kB / 492 MB, free: 5.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.008045, allocations: 74 kB / 492.1 MB, free: 5.926 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.008124, allocations: 76.09 kB / 492.2 MB, free: 5.926 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.008225, allocations: 186.2 kB / 492.3 MB, free: 5.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.008403, allocations: 260.2 kB / 492.6 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.008758, allocations: 0.5077 MB / 493.1 MB, free: 5.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00876, allocations: 4.969 kB / 493.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008761, allocations: 0 / 493.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.008768, allocations: 0 / 493.1 MB, free: 5.422 MB / 410.7 MB 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.001028/0.009796, allocations: 1.009 MB / 494.1 MB, free: 4.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.009825, allocations: 9.344 kB / 494.1 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.009928, allocations: 118.1 kB / 494.2 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.01021, allocations: 373.2 kB / 494.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01023, allocations: 37.66 kB / 494.6 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.01029, allocations: 44 kB / 494.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.01059, allocations: 285.6 kB / 495 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.0106, allocations: 1.375 kB / 495 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.01063, allocations: 21.03 kB / 495 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01064, allocations: 11.81 kB / 495 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.01083, allocations: 156.5 kB / 495.1 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.01182, allocations: 1.109 MB / 496.3 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.012, allocations: 192.2 kB / 496.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.01217, allocations: 177.7 kB / 496.6 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.01218, allocations: 7.062 kB / 496.6 MB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.0122, allocations: 39.58 kB / 496.7 MB, free: 3.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.674e-06/0.0122, allocations: 1.188 kB / 496.7 MB, free: 3.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003239/0.01252, allocations: 295.6 kB / 496.9 MB, free: 3.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.01254, allocations: 56.09 kB / 497 MB, free: 3.191 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.01285, allocations: 458.4 kB / 497.5 MB, free: 18.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01287, allocations: 38.7 kB / 497.5 MB, free: 18.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01299, allocations: 355.2 kB / 497.8 MB, free: 18.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.01305, allocations: 149.6 kB / 498 MB, free: 18.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.01312, allocations: 69.89 kB / 498 MB, free: 18.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004153/0.01353, allocations: 0.551 MB / 498.6 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.01363, allocations: 43 kB / 498.6 MB, free: 17.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.01373, allocations: 49.34 kB / 498.7 MB, free: 17.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.0139, allocations: 143.5 kB / 498.8 MB, free: 17.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0139, allocations: 0 / 498.8 MB, free: 17.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002491/0.01415, allocations: 259.2 kB / 499.1 MB, free: 17.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01416, allocations: 5.406 kB / 499.1 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01417, allocations: 13.09 kB / 499.1 MB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.01418, allocations: 2.094 kB / 499.1 MB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.01445, allocations: 125.6 kB / 499.2 MB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.01445, allocations: 2.188 kB / 499.2 MB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.01454, allocations: 26.62 kB / 499.3 MB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01456, allocations: 8.5 kB / 499.3 MB, free: 17.71 MB / 426.7 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 (46): * Single equations (assignments): 46 * 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.000104/0.01466, allocations: 173.6 kB / 499.4 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.01472, allocations: 62.03 kB / 499.5 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.01478, allocations: 61.34 kB / 499.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01478, allocations: 4.5 kB / 499.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01479, allocations: 1.062 kB / 499.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01479, allocations: 4.375 kB / 499.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.01508, allocations: 341.1 kB / 499.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01508, allocations: 0 / 499.9 MB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.01535, allocations: 122 kB / 0.4883 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01535, allocations: 2.188 kB / 0.4883 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01537, allocations: 9.438 kB / 0.4883 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01537, allocations: 1.375 kB / 0.4883 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01537, allocations: 5.625 kB / 0.4883 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01574, allocations: 471.4 kB / 0.4888 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.01579, allocations: 60.56 kB / 0.4888 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.01582, allocations: 10.06 kB / 0.4888 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.01591, allocations: 7.406 kB / 0.4888 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.01595, allocations: 36.02 kB / 0.4889 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01596, allocations: 8.5 kB / 0.4889 GB, free: 16.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.01612, allocations: 291.2 kB / 0.4892 GB, free: 16.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01612, allocations: 3.938 kB / 0.4892 GB, free: 16.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.01636, allocations: 148.8 kB / 0.4893 GB, free: 16.69 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.325e-05/0.01644, allocations: 109.5 kB / 0.4894 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.01663, allocations: 175.3 kB / 0.4896 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01663, allocations: 0.9375 kB / 0.4896 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.01673, allocations: 115.7 kB / 0.4897 GB, free: 16.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.01707, allocations: 101.8 kB / 0.4898 GB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.0182, allocations: 1.017 MB / 0.4908 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.01827, allocations: 131 kB / 0.4909 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.01837, allocations: 40.42 kB / 0.4909 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.01855, allocations: 162.6 kB / 0.4911 GB, free: 15.78 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01855, allocations: 0.9375 kB / 0.4911 GB, free: 15.78 MB / 426.7 MB Notification: Performance of Templates: time 0.008454/0.027, allocations: 5.549 MB / 0.4965 GB, free: 13.58 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4428694252856076]