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.001378/0.001378, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.001389/0.001389, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 494.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3238, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002213/0.326, allocations: 1.426 MB / 0.559 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.3294, allocations: 2.889 MB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.3294, allocations: 0 / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3295, allocations: 7.078 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.3295, allocations: 16.33 kB / 0.5619 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.3332, allocations: 1.589 MB / 0.5634 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.502e-05/0.3333, allocations: 42.78 kB / 0.5635 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.3333, allocations: 5.156 kB / 0.5635 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.3334, allocations: 17.05 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.3334, allocations: 18.22 kB / 0.5635 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3334, allocations: 1.625 kB / 0.5635 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.3356, allocations: 1.53 MB / 0.565 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3356, allocations: 11.53 kB / 0.565 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3356, allocations: 16.31 kB / 0.565 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3372, allocations: 1.119 MB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3372, allocations: 0 / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3372, allocations: 1.594 kB / 0.5661 GB, free: 32.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3372, allocations: 0 / 0.5661 GB, free: 32.11 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.0005091/0.3377, allocations: 0.5124 MB / 0.5666 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3378, allocations: 13.48 kB / 0.5666 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3378, allocations: 83.86 kB / 0.5667 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3379, allocations: 251 kB / 0.5669 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.338, allocations: 156 kB / 0.5671 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.338, allocations: 152.7 kB / 0.5672 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.316e-05/0.338, allocations: 106.2 kB / 0.5673 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3381, allocations: 80.97 kB / 0.5674 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3381, allocations: 152.2 kB / 0.5676 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.3381, allocations: 151.1 kB / 0.5677 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.3381, allocations: 152.9 kB / 0.5678 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.3383, allocations: 467.4 kB / 0.5683 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.3384, allocations: 166.9 kB / 0.5685 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.3384, allocations: 90.31 kB / 0.5685 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3384, allocations: 76.28 kB / 0.5686 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.3384, allocations: 112.8 kB / 0.5687 GB, free: 29.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3384, allocations: 0 / 0.5687 GB, free: 29.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.3385, allocations: 30.8 kB / 0.5687 GB, free: 29.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3385, allocations: 126.7 kB / 0.5689 GB, free: 29.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3387, allocations: 139.3 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.3387, allocations: 26.2 kB / 0.569 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.3387, allocations: 97.67 kB / 0.5691 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.3387, allocations: 0 / 0.5691 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3387, allocations: 26.8 kB / 0.5691 GB, free: 28.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.3388, allocations: 317.8 kB / 0.5694 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3388, allocations: 7.984 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.3388, allocations: 4.094 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.3389, allocations: 16.19 kB / 0.5695 GB, free: 28.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3389, allocations: 0.5156 kB / 0.5695 GB, free: 28.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.339, allocations: 51.3 kB / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.339, allocations: 5.688 kB / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.339, allocations: 5.062 kB / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.339, allocations: 0 / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3391, allocations: 0 / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3391, allocations: 3.062 kB / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.3391, allocations: 7.844 kB / 0.5695 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3391, allocations: 10.89 kB / 0.5696 GB, free: 28.58 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 4.781e-05/0.3392, allocations: 191 kB / 0.5697 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.3392, allocations: 114.8 kB / 0.5698 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.3392, allocations: 108.1 kB / 0.5699 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.3393, allocations: 189 kB / 0.5701 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/0.3393, allocations: 183.2 kB / 0.5703 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.3393, allocations: 186 kB / 0.5705 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3394, allocations: 410.2 kB / 0.5709 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.3395, allocations: 110.2 kB / 0.571 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.3395, allocations: 105.5 kB / 0.5711 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.3395, allocations: 179.2 kB / 0.5712 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3395, allocations: 184.8 kB / 0.5714 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/0.3396, allocations: 179.3 kB / 0.5716 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/0.3396, allocations: 179.4 kB / 0.5718 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.3397, allocations: 308.2 kB / 0.5721 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3397, allocations: 193.5 kB / 0.5722 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3397, allocations: 180.4 kB / 0.5724 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.3398, allocations: 101.9 kB / 0.5725 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3398, allocations: 182 kB / 0.5727 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3399, allocations: 104.5 kB / 0.5728 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.3399, allocations: 103.1 kB / 0.5729 GB, free: 25.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3399, allocations: 3.938 kB / 0.5729 GB, free: 25.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006745/0.3406, allocations: 283.9 kB / 0.5732 GB, free: 24.96 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.0009269/0.3415, allocations: 0.5287 MB / 0.5737 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.3416, allocations: 48.33 kB / 0.5737 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3416, allocations: 0 / 0.5737 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.3416, allocations: 1.75 kB / 0.5737 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3419, allocations: 471.6 kB / 0.5742 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.3422, allocations: 237.7 kB / 0.5744 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.3423, allocations: 0.6896 MB / 0.5751 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.195e-05/0.3423, allocations: 3.234 kB / 0.5751 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-06/0.3423, allocations: 9.625 kB / 0.5751 GB, free: 23.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3423, allocations: 0 / 0.5751 GB, free: 23.29 MB / 446.1 MB Notification: Performance of Templates: time 0.009571/0.3519, allocations: 5.628 MB / 0.5806 GB, free: 22.72 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)