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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 102.4 kB / 15.98 MB, free: 6.328 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.001895/0.001895, allocations: 197.2 kB / 16.91 MB, free: 6.168 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 0.4907 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3037, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002358/0.3061, allocations: 1.478 MB / 0.5682 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.3097, allocations: 2.849 MB / 0.571 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.3097, allocations: 0.5938 kB / 0.571 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.3098, allocations: 1.266 kB / 0.571 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.3099, allocations: 16.84 kB / 0.571 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.3136, allocations: 1.433 MB / 0.5724 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.3137, allocations: 37.61 kB / 0.5724 GB, free: 29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.3137, allocations: 3.922 kB / 0.5724 GB, free: 29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.3138, allocations: 16.78 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.3138, allocations: 22.19 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.3138, allocations: 1.562 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.316, allocations: 1.421 MB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.316, allocations: 8.797 kB / 0.5739 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3161, allocations: 15.36 kB / 0.5739 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3178, allocations: 1.074 MB / 0.5749 GB, free: 28.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3179, allocations: 0 / 0.5749 GB, free: 28.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3179, allocations: 0.5 kB / 0.5749 GB, free: 28.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3179, allocations: 3.125 kB / 0.5749 GB, free: 28.22 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.0005998/0.3185, allocations: 0.5122 MB / 0.5754 GB, free: 27.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3185, allocations: 15.06 kB / 0.5754 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3186, allocations: 79.66 kB / 0.5755 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.3187, allocations: 257.7 kB / 0.5758 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3187, allocations: 155.9 kB / 0.5759 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3188, allocations: 152.7 kB / 0.5761 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.277e-05/0.3188, allocations: 115.1 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3188, allocations: 76.88 kB / 0.5762 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3189, allocations: 152.7 kB / 0.5764 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3189, allocations: 151.7 kB / 0.5765 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.3189, allocations: 151.2 kB / 0.5767 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3191, allocations: 467.4 kB / 0.5771 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.3192, allocations: 171.4 kB / 0.5773 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3192, allocations: 80.14 kB / 0.5774 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3192, allocations: 77.25 kB / 0.5774 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3192, allocations: 113.3 kB / 0.5775 GB, free: 25.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3192, allocations: 0 / 0.5775 GB, free: 25.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.3193, allocations: 33.64 kB / 0.5776 GB, free: 25.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.3193, allocations: 128.1 kB / 0.5777 GB, free: 25.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3195, allocations: 132.7 kB / 0.5778 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.3195, allocations: 29.64 kB / 0.5779 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.3195, allocations: 93.23 kB / 0.5779 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3195, allocations: 0.6562 kB / 0.5779 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3196, allocations: 19.98 kB / 0.578 GB, free: 25.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.3196, allocations: 317.8 kB / 0.5783 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.3196, allocations: 3.766 kB / 0.5783 GB, free: 24.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.3196, allocations: 3.375 kB / 0.5783 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.3197, allocations: 14.61 kB / 0.5783 GB, free: 24.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3197, allocations: 1.281 kB / 0.5783 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.3198, allocations: 53.28 kB / 0.5783 GB, free: 24.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3198, allocations: 5.25 kB / 0.5783 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3199, allocations: 2.953 kB / 0.5783 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3199, allocations: 2.188 kB / 0.5783 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.3199, allocations: 4.641 kB / 0.5783 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3199, allocations: 1.812 kB / 0.5784 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.3199, allocations: 0 / 0.5784 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3199, allocations: 2.359 kB / 0.5784 GB, free: 24.7 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 5.126e-05/0.32, allocations: 188.8 kB / 0.5785 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.32, allocations: 118.4 kB / 0.5786 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3201, allocations: 115.7 kB / 0.5788 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.3201, allocations: 183 kB / 0.5789 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/0.3201, allocations: 179 kB / 0.5791 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.3202, allocations: 183 kB / 0.5793 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3203, allocations: 409.3 kB / 0.5797 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.3203, allocations: 114.9 kB / 0.5798 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3203, allocations: 107.7 kB / 0.5799 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.3204, allocations: 186.1 kB / 0.5801 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3204, allocations: 184.1 kB / 0.5802 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/0.3204, allocations: 178.1 kB / 0.5804 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.257e-05/0.3204, allocations: 182.2 kB / 0.5806 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.336e-05/0.3205, allocations: 305.3 kB / 0.5809 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.3205, allocations: 192.5 kB / 0.5811 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3206, allocations: 179.6 kB / 0.5812 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.3206, allocations: 106.5 kB / 0.5813 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3207, allocations: 183.2 kB / 0.5815 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3207, allocations: 102.7 kB / 0.5816 GB, free: 21.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.3207, allocations: 99.73 kB / 0.5817 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3208, allocations: 1.094 kB / 0.5817 GB, free: 21.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.3216, allocations: 279.5 kB / 0.582 GB, free: 21.07 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.001/0.3226, allocations: 0.52 MB / 0.5825 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.3227, allocations: 38.7 kB / 0.5825 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3227, allocations: 0 / 0.5825 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.3227, allocations: 1.375 kB / 0.5825 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.323, allocations: 470.5 kB / 0.583 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.3233, allocations: 246.4 kB / 0.5832 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.3234, allocations: 0.6831 MB / 0.5839 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.405e-05/0.3234, allocations: 5.281 kB / 0.5839 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-06/0.3234, allocations: 8.812 kB / 0.5839 GB, free: 19.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3234, allocations: 1.969 kB / 0.5839 GB, free: 19.4 MB / 446.1 MB Notification: Performance of Templates: time 0.008578/0.332, allocations: 5.477 MB / 0.5892 GB, free: 16.96 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)