Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.002645/0.002645, allocations: 186 kB / 17.57 MB, free: 5.922 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.58/1.58, allocations: 222.9 MB / 241.2 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8256/0.8256, allocations: 125.4 MB / 416.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002053, allocations: 63.89 kB / 0.4943 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5022, allocations: 78.57 MB / 0.5711 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002783/0.5051, allocations: 1.482 MB / 0.5725 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.5094, allocations: 2.894 MB / 0.5753 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.5095, allocations: 1.75 kB / 0.5753 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.5096, allocations: 7.797 kB / 0.5754 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.523e-05/0.5097, allocations: 7.031 kB / 0.5754 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.5144, allocations: 1.462 MB / 0.5768 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.5145, allocations: 45.16 kB / 0.5768 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.5146, allocations: 7.203 kB / 0.5768 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.5146, allocations: 14.25 kB / 0.5768 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.5147, allocations: 21.59 kB / 0.5769 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.5147, allocations: 6.156 kB / 0.5769 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.5174, allocations: 1.463 MB / 0.5783 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.5174, allocations: 6.547 kB / 0.5783 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.5175, allocations: 15.45 kB / 0.5783 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.5189, allocations: 0.7738 MB / 0.5791 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5189, allocations: 3.984 kB / 0.5791 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5189, allocations: 0.5 kB / 0.5791 GB, free: 27.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.5189, allocations: 0 / 0.5791 GB, free: 27.09 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00061/0.5195, allocations: 0.5232 MB / 0.5796 GB, free: 26.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5196, allocations: 9.125 kB / 0.5796 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.5196, allocations: 82.69 kB / 0.5797 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5198, allocations: 252.2 kB / 0.5799 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5198, allocations: 153.1 kB / 0.5801 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.5198, allocations: 159.8 kB / 0.5802 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.048e-05/0.5199, allocations: 101 kB / 0.5803 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5199, allocations: 82.34 kB / 0.5804 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.52, allocations: 150.6 kB / 0.5805 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.52, allocations: 156.2 kB / 0.5807 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.52, allocations: 152.6 kB / 0.5808 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.5202, allocations: 461 kB / 0.5813 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.5203, allocations: 173 kB / 0.5814 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.5203, allocations: 80.14 kB / 0.5815 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5203, allocations: 80.16 kB / 0.5816 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5204, allocations: 107.9 kB / 0.5817 GB, free: 24.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5204, allocations: 1.688 kB / 0.5817 GB, free: 24.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.5204, allocations: 36.92 kB / 0.5817 GB, free: 24.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.5205, allocations: 126.7 kB / 0.5819 GB, free: 24.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5206, allocations: 132.5 kB / 0.582 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.5206, allocations: 27.05 kB / 0.582 GB, free: 24.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5207, allocations: 90.58 kB / 0.5821 GB, free: 23.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.5207, allocations: 16 / 0.5821 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.5207, allocations: 16.31 kB / 0.5821 GB, free: 23.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.5208, allocations: 320.3 kB / 0.5824 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.5208, allocations: 8.656 kB / 0.5824 GB, free: 23.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.5208, allocations: 7.672 kB / 0.5824 GB, free: 23.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.5209, allocations: 15.48 kB / 0.5824 GB, free: 23.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5209, allocations: 4.562 kB / 0.5824 GB, free: 23.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.521, allocations: 52.25 kB / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.521, allocations: 8.875 kB / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5211, allocations: 3.5 kB / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5211, allocations: 0 / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5211, allocations: 0 / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5211, allocations: 5.125 kB / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.5211, allocations: 9.062 kB / 0.5825 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5211, allocations: 5.188 kB / 0.5825 GB, free: 23.52 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.308e-05/0.5212, allocations: 191 kB / 0.5827 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.5213, allocations: 116.3 kB / 0.5828 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.5213, allocations: 111.9 kB / 0.5829 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.5213, allocations: 181.3 kB / 0.5831 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/0.5214, allocations: 178.2 kB / 0.5833 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.5214, allocations: 182.4 kB / 0.5834 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.5215, allocations: 421.2 kB / 0.5838 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.5216, allocations: 102 kB / 0.5839 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.5216, allocations: 107.2 kB / 0.584 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/0.5216, allocations: 185.6 kB / 0.5842 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.5216, allocations: 178.2 kB / 0.5844 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-05/0.5217, allocations: 181.5 kB / 0.5846 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/0.5217, allocations: 178.6 kB / 0.5847 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.5218, allocations: 318 kB / 0.585 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.5218, allocations: 181.3 kB / 0.5852 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.5219, allocations: 188.5 kB / 0.5854 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.5219, allocations: 101 kB / 0.5855 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.522, allocations: 180.2 kB / 0.5857 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.522, allocations: 107.6 kB / 0.5858 GB, free: 20.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.522, allocations: 102.8 kB / 0.5859 GB, free: 19.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.522, allocations: 0 / 0.5859 GB, free: 19.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009155/0.523, allocations: 282.9 kB / 0.5861 GB, free: 19.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00113/0.5241, allocations: 0.5427 MB / 0.5867 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.5242, allocations: 46.59 kB / 0.5867 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5242, allocations: 0 / 0.5867 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.5242, allocations: 0 / 0.5867 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.5246, allocations: 472.5 kB / 0.5872 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.5249, allocations: 265 kB / 0.5874 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.525, allocations: 0.6864 MB / 0.5881 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.5251, allocations: 8.812 kB / 0.5881 GB, free: 18.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5251, allocations: 0 / 0.5881 GB, free: 18.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01123/0.5363, allocations: 4.753 MB / 0.5927 GB, free: 15.69 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)