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.0009141/0.0009141, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.8 kB / 16.57 MB, free: 6.52 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.41/1.41, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7625/0.7625, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 493.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 77.15 MB / 0.5569 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003066/0.1911, allocations: 2.398 MB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1935, allocations: 1.902 MB / 0.5611 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1936, allocations: 7.938 kB / 0.5611 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.1947, allocations: 446.5 kB / 0.5615 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.195, allocations: 147.6 kB / 0.5617 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.069e-05/0.1951, allocations: 31.97 kB / 0.5617 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.1955, allocations: 323.3 kB / 0.562 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1957, allocations: 122.9 kB / 0.5621 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1959, allocations: 131.4 kB / 0.5622 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1961, allocations: 155.3 kB / 0.5624 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1961, allocations: 20 kB / 0.5624 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.1962, allocations: 16 kB / 0.5624 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1963, allocations: 83.61 kB / 0.5625 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.1964, allocations: 101.5 kB / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1967, allocations: 434.8 kB / 0.563 GB, free: 5.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1968, allocations: 0 / 0.563 GB, free: 5.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1968, allocations: 4 kB / 0.563 GB, free: 5.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1968, allocations: 3.938 kB / 0.563 GB, free: 5.219 MB / 430.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.000906/0.1977, allocations: 0.65 MB / 0.5637 GB, free: 4.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1977, allocations: 12.03 kB / 0.5637 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.1978, allocations: 47.44 kB / 0.5637 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.1984, allocations: 357.1 kB / 0.564 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1984, allocations: 16.44 kB / 0.5641 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.1985, allocations: 19.95 kB / 0.5641 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.1989, allocations: 203.3 kB / 0.5643 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1989, allocations: 0 / 0.5643 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.199, allocations: 12 kB / 0.5643 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.199, allocations: 8 kB / 0.5643 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.1994, allocations: 173.6 kB / 0.5645 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2007, allocations: 0.8701 MB / 0.5653 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.201, allocations: 164.4 kB / 0.5655 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2011, allocations: 0 / 0.5655 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2011, allocations: 34.88 kB / 0.5655 GB, free: 2.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.2011, allocations: 0 / 0.5655 GB, free: 2.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005922/0.2017, allocations: 269 kB / 0.5658 GB, free: 2.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2018, allocations: 55.36 kB / 0.5658 GB, free: 2.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.2022, allocations: 425.6 kB / 0.5662 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2022, allocations: 29.7 kB / 0.5662 GB, free: 1.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2024, allocations: 208.2 kB / 0.5664 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.2025, allocations: 67 kB / 0.5665 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-06/0.2025, allocations: 0 / 0.5665 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2026, allocations: 346.8 kB / 0.5668 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2028, allocations: 59.97 kB / 0.5669 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2029, allocations: 63.97 kB / 0.567 GB, free: 0.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.2031, allocations: 65.88 kB / 0.567 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2031, allocations: 0 / 0.567 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003757/0.2035, allocations: 221.2 kB / 0.5672 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.2035, allocations: 10.28 kB / 0.5672 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2035, allocations: 3.953 kB / 0.5672 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2035, allocations: 3.984 kB / 0.5672 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2038, allocations: 55.91 kB / 0.5673 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2038, allocations: 4 kB / 0.5673 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.204, allocations: 31.83 kB / 0.5673 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.204, allocations: 0 / 0.5673 GB, free: 0.5664 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2042, allocations: 166.5 kB / 0.5675 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.2043, allocations: 39.53 kB / 0.5675 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.2043, allocations: 43.53 kB / 0.5676 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2043, allocations: 3.953 kB / 0.5676 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2044, allocations: 4 kB / 0.5676 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2044, allocations: 0 / 0.5676 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.2048, allocations: 381.2 kB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2048, allocations: 0 / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.2051, allocations: 55.97 kB / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2051, allocations: 0 / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2051, allocations: 4 kB / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2051, allocations: 0 / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.2051, allocations: 7.953 kB / 0.568 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.2057, allocations: 392.9 kB / 0.5684 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.2058, allocations: 120.8 kB / 0.5685 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2059, allocations: 8 kB / 0.5685 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2061, allocations: 15.89 kB / 0.5685 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2061, allocations: 11.94 kB / 0.5685 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2061, allocations: 8 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.2064, allocations: 299.1 kB / 0.5688 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2064, allocations: 0 / 0.5688 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.2067, allocations: 75.84 kB / 0.5689 GB, free: 14.87 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 (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.0001388/0.2069, allocations: 103.2 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2073, allocations: 155.9 kB / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2073, allocations: 0 / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2075, allocations: 85.94 kB / 0.5692 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.208, allocations: 92.94 kB / 0.5693 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2094, allocations: 0.8915 MB / 0.5702 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2098, allocations: 0.8109 MB / 0.571 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2099, allocations: 38.94 kB / 0.571 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.21, allocations: 23.44 kB / 0.571 GB, free: 12.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.21, allocations: 0 / 0.571 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Templates: time 0.007168/0.2171, allocations: 3.544 MB / 0.5745 GB, free: 9.199 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)