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.001238/0.001238, allocations: 96.81 kB / 15.69 MB, free: 480 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.001456/0.001456, allocations: 175.4 kB / 16.57 MB, free: 6.395 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.458/1.458, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003282, allocations: 8 kB / 493.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 77.15 MB / 0.5569 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001473/0.1938, allocations: 1.113 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.1977, allocations: 2.579 MB / 0.5605 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1978, allocations: 0 / 0.5605 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.1978, allocations: 3.984 kB / 0.5605 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.1979, allocations: 15.97 kB / 0.5605 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.2014, allocations: 1.239 MB / 0.5617 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.2015, allocations: 39.88 kB / 0.5618 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.2015, allocations: 0 / 0.5618 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.2016, allocations: 15.88 kB / 0.5618 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.2016, allocations: 15.92 kB / 0.5618 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2016, allocations: 4 kB / 0.5618 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.204, allocations: 1.197 MB / 0.563 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2041, allocations: 7.938 kB / 0.563 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.2041, allocations: 33.7 kB / 0.563 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2053, allocations: 0.7177 MB / 0.5637 GB, free: 4.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2053, allocations: 4 kB / 0.5637 GB, free: 4.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2053, allocations: 0 / 0.5637 GB, free: 4.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.2053, allocations: 0 / 0.5637 GB, free: 4.559 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006252/0.206, allocations: 0.5083 MB / 0.5642 GB, free: 4.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.206, allocations: 15.98 kB / 0.5642 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.2061, allocations: 83.19 kB / 0.5643 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2063, allocations: 242.3 kB / 0.5645 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.2063, allocations: 162.5 kB / 0.5647 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.2064, allocations: 158.4 kB / 0.5648 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.302e-05/0.2065, allocations: 101 kB / 0.5649 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2065, allocations: 75.28 kB / 0.565 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.2066, allocations: 154.6 kB / 0.5652 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.43e-05/0.2066, allocations: 150.6 kB / 0.5653 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.2067, allocations: 150.6 kB / 0.5654 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.207, allocations: 465.8 kB / 0.5659 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.2071, allocations: 181 kB / 0.5661 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2071, allocations: 75.28 kB / 0.5661 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.2072, allocations: 109.8 kB / 0.5662 GB, free: 1.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.2072, allocations: 3.938 kB / 0.5662 GB, free: 1.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.253e-05/0.2073, allocations: 33.69 kB / 0.5663 GB, free: 1.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.2073, allocations: 130.6 kB / 0.5664 GB, free: 1.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2075, allocations: 139.6 kB / 0.5665 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2075, allocations: 29.7 kB / 0.5666 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.2076, allocations: 92.12 kB / 0.5666 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-06/0.2076, allocations: 0 / 0.5666 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2076, allocations: 0 / 0.5666 GB, free: 1.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2078, allocations: 318.8 kB / 0.567 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.2078, allocations: 4 kB / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.2078, allocations: 8 kB / 0.567 GB, free: 1.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.2078, allocations: 8.031 kB / 0.567 GB, free: 1.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2078, allocations: 0 / 0.567 GB, free: 1.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.208, allocations: 57.55 kB / 0.567 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.208, allocations: 4 kB / 0.567 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.208, allocations: 7.984 kB / 0.567 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.208, allocations: 0 / 0.567 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2081, allocations: 0 / 0.567 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2081, allocations: 3.938 kB / 0.567 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.2081, allocations: 4 kB / 0.567 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.2081, allocations: 0 / 0.567 GB, free: 0.9219 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.889e-05/0.2082, allocations: 189.2 kB / 0.5672 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.2083, allocations: 116.9 kB / 0.5673 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.2084, allocations: 116.6 kB / 0.5674 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/0.2084, allocations: 180.2 kB / 0.5676 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.2085, allocations: 176.3 kB / 0.5678 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-05/0.2086, allocations: 188.2 kB / 0.568 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2088, allocations: 413.2 kB / 0.5684 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.2088, allocations: 101 kB / 0.5685 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.2089, allocations: 113 kB / 0.5686 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-05/0.2089, allocations: 176.3 kB / 0.5687 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.209, allocations: 192.1 kB / 0.5689 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-05/0.2091, allocations: 184.2 kB / 0.5691 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.155e-05/0.2092, allocations: 184.2 kB / 0.5693 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2093, allocations: 299.8 kB / 0.5696 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.2094, allocations: 189.9 kB / 0.5697 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.2095, allocations: 188.5 kB / 0.5699 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.2096, allocations: 104.9 kB / 0.57 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.2096, allocations: 184.2 kB / 0.5702 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.2097, allocations: 101 kB / 0.5703 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.2098, allocations: 109.8 kB / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2098, allocations: 0 / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007988/0.2106, allocations: 275.8 kB / 0.5707 GB, free: 13 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 (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.001014/0.2116, allocations: 0.4903 MB / 0.5711 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.2117, allocations: 45.62 kB / 0.5712 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2118, allocations: 7.938 kB / 0.5712 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.2118, allocations: 0 / 0.5712 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2122, allocations: 0.5234 MB / 0.5717 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2125, allocations: 255.8 kB / 0.5719 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.2129, allocations: 0.6887 MB / 0.5726 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.2129, allocations: 4 kB / 0.5726 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/0.213, allocations: 7.438 kB / 0.5726 GB, free: 10.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.213, allocations: 0 / 0.5726 GB, free: 10.91 MB / 446.1 MB Notification: Performance of Templates: time 0.009962/0.2229, allocations: 5.603 MB / 0.5781 GB, free: 5.359 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)