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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 106.4 kB / 17.03 MB, free: 5.656 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.001751/0.001752, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6682/0.6682, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.91 kB / 494.9 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002348/0.3411, allocations: 1.419 MB / 0.559 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.345, allocations: 2.887 MB / 0.5618 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.345, allocations: 4.719 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3451, allocations: 5.297 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.3451, allocations: 17.8 kB / 0.5619 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.3491, allocations: 1.589 MB / 0.5634 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.3491, allocations: 47.81 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.3492, allocations: 3.203 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.3492, allocations: 16.89 kB / 0.5635 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.786e-05/0.3493, allocations: 17.69 kB / 0.5635 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3493, allocations: 3.25 kB / 0.5635 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.3516, allocations: 1.531 MB / 0.565 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3517, allocations: 9.141 kB / 0.565 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.3517, allocations: 21 kB / 0.565 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.3533, allocations: 1.113 MB / 0.5661 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3533, allocations: 1.125 kB / 0.5661 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3533, allocations: 0 / 0.5661 GB, free: 32.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3533, allocations: 0 / 0.5661 GB, free: 32.16 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.0005106/0.3538, allocations: 0.5141 MB / 0.5666 GB, free: 31.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3539, allocations: 9 kB / 0.5666 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3539, allocations: 87.36 kB / 0.5667 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.354, allocations: 253.2 kB / 0.5669 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.354, allocations: 152.7 kB / 0.5671 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.3541, allocations: 152.9 kB / 0.5672 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.48e-05/0.3541, allocations: 110 kB / 0.5673 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3541, allocations: 76.97 kB / 0.5674 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3542, allocations: 152.2 kB / 0.5676 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.3542, allocations: 151.5 kB / 0.5677 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.3542, allocations: 153.2 kB / 0.5678 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.3544, allocations: 471 kB / 0.5683 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.3545, allocations: 174.9 kB / 0.5685 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.3545, allocations: 81.11 kB / 0.5685 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3545, allocations: 77.11 kB / 0.5686 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3546, allocations: 111 kB / 0.5687 GB, free: 29.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3546, allocations: 2.406 kB / 0.5687 GB, free: 29.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.013e-05/0.3546, allocations: 29.64 kB / 0.5687 GB, free: 29.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3547, allocations: 131.3 kB / 0.5689 GB, free: 29.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3548, allocations: 139.8 kB / 0.569 GB, free: 29.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.3548, allocations: 31.39 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.3548, allocations: 92.42 kB / 0.5691 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3549, allocations: 0 / 0.5691 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.3549, allocations: 16.91 kB / 0.5691 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.3549, allocations: 320.1 kB / 0.5694 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.355, allocations: 3.188 kB / 0.5694 GB, free: 28.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.355, allocations: 9.969 kB / 0.5695 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.355, allocations: 11.53 kB / 0.5695 GB, free: 28.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.355, allocations: 0.6562 kB / 0.5695 GB, free: 28.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.3552, allocations: 51.69 kB / 0.5695 GB, free: 28.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3552, allocations: 4.578 kB / 0.5695 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.3552, allocations: 4.391 kB / 0.5695 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3552, allocations: 0 / 0.5695 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.3552, allocations: 10.69 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3552, allocations: 0 / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.3553, allocations: 10.69 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3553, allocations: 1.906 kB / 0.5695 GB, free: 28.64 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.894e-05/0.3553, allocations: 187.7 kB / 0.5697 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3554, allocations: 114 kB / 0.5698 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3554, allocations: 112.5 kB / 0.5699 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.3555, allocations: 181.9 kB / 0.5701 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/0.3555, allocations: 187.2 kB / 0.5703 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.3555, allocations: 185.3 kB / 0.5705 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3557, allocations: 411.2 kB / 0.5709 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.3557, allocations: 106.7 kB / 0.571 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.3557, allocations: 108.3 kB / 0.5711 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/0.3557, allocations: 180.3 kB / 0.5712 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3558, allocations: 188 kB / 0.5714 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.446e-05/0.3558, allocations: 179.3 kB / 0.5716 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-05/0.3558, allocations: 182.3 kB / 0.5718 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/0.3559, allocations: 305.2 kB / 0.5721 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.356, allocations: 193.8 kB / 0.5722 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.356, allocations: 178.9 kB / 0.5724 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.3561, allocations: 106.4 kB / 0.5725 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3561, allocations: 183.5 kB / 0.5727 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3561, allocations: 106.5 kB / 0.5728 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.3562, allocations: 100.3 kB / 0.5729 GB, free: 25.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 1.281 kB / 0.5729 GB, free: 25.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009656/0.3572, allocations: 283.1 kB / 0.5732 GB, free: 25.02 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.3583, allocations: 0.5364 MB / 0.5737 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3584, allocations: 44.31 kB / 0.5737 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3584, allocations: 0 / 0.5737 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.3584, allocations: 1.812 kB / 0.5737 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3588, allocations: 471.1 kB / 0.5742 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.3591, allocations: 239 kB / 0.5744 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3593, allocations: 0.6882 MB / 0.5751 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.3593, allocations: 0 / 0.5751 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.3593, allocations: 10.56 kB / 0.5751 GB, free: 23.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3593, allocations: 0 / 0.5751 GB, free: 23.35 MB / 446.1 MB Notification: Performance of Templates: time 0.01172/0.371, allocations: 5.644 MB / 0.5806 GB, free: 22.71 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)