Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.00108, allocations: 181.6 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007888, allocations: 94.33 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 9.5 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 106.3 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001527/0.2288, allocations: 1.139 MB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003457/0.2323, allocations: 2.715 MB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.2323, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.2324, allocations: 3.938 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.2324, allocations: 15.91 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.2358, allocations: 1.298 MB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.2359, allocations: 31.75 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.236, allocations: 7.938 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.236, allocations: 19.92 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.2361, allocations: 15.92 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2361, allocations: 0 / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.2381, allocations: 1.232 MB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.2381, allocations: 3.938 kB / 0.9072 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2382, allocations: 33.7 kB / 0.9073 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008613/0.239, allocations: 0.6982 MB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.239, allocations: 3.938 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/0.239, allocations: 0 / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2391, allocations: 0 / 0.9079 GB, free: 56.61 MB / 0.6042 GB 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.0004614/0.2395, allocations: 0.5106 MB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2396, allocations: 8.031 kB / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.2396, allocations: 83.23 kB / 0.9085 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2397, allocations: 258.2 kB / 0.9088 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.2398, allocations: 154.6 kB / 0.9089 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2398, allocations: 150.6 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.987e-05/0.2399, allocations: 101 kB / 0.9092 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2399, allocations: 75.28 kB / 0.9092 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2399, allocations: 154.6 kB / 0.9094 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2399, allocations: 150.6 kB / 0.9095 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.24, allocations: 158.5 kB / 0.9097 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.2402, allocations: 465.8 kB / 0.9101 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.2403, allocations: 173.1 kB / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.2403, allocations: 80.14 kB / 0.9104 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2403, allocations: 79.28 kB / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2403, allocations: 109.8 kB / 0.9105 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.2403, allocations: 0 / 0.9105 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/0.2404, allocations: 33.61 kB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2405, allocations: 130.7 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.2406, allocations: 126 kB / 0.9108 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2406, allocations: 25.7 kB / 0.9108 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.2406, allocations: 96.12 kB / 0.9109 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.2406, allocations: 0 / 0.9109 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.2406, allocations: 0 / 0.9109 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.2407, allocations: 318.8 kB / 0.9112 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.2407, allocations: 7.984 kB / 0.9112 GB, free: 53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.2407, allocations: 8 kB / 0.9112 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.2408, allocations: 8 kB / 0.9113 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2408, allocations: 3.938 kB / 0.9113 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.2409, allocations: 41.61 kB / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2409, allocations: 6.656 kB / 0.9113 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2409, allocations: 11.97 kB / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2409, allocations: 0 / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.2409, allocations: 0 / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.241, allocations: 0 / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.241, allocations: 4 kB / 0.9113 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.241, allocations: 4.062 kB / 0.9113 GB, free: 52.91 MB / 0.6042 GB 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 7.661e-05/0.2411, allocations: 191.3 kB / 0.9115 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2411, allocations: 116.8 kB / 0.9116 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.2412, allocations: 116.8 kB / 0.9117 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.2412, allocations: 176.3 kB / 0.9119 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/0.2412, allocations: 184.2 kB / 0.9121 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.2413, allocations: 184.3 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2414, allocations: 417.1 kB / 0.9126 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.2414, allocations: 105 kB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.2415, allocations: 109 kB / 0.9129 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-05/0.2415, allocations: 180.2 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.2415, allocations: 188.3 kB / 0.9132 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-05/0.2416, allocations: 180.2 kB / 0.9134 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-05/0.2416, allocations: 184.2 kB / 0.9136 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.2417, allocations: 307.7 kB / 0.9138 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.2417, allocations: 182 kB / 0.914 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.2418, allocations: 192.2 kB / 0.9142 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.2418, allocations: 101 kB / 0.9143 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.2419, allocations: 176.6 kB / 0.9145 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2419, allocations: 104.9 kB / 0.9146 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.242, allocations: 99.27 kB / 0.9147 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.242, allocations: 0 / 0.9147 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000619/0.2426, allocations: 283.8 kB / 0.9149 GB, free: 48.99 MB / 0.6042 GB 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.0008955/0.2435, allocations: 0.5153 MB / 0.9154 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.803e-05/0.2436, allocations: 33.7 kB / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2436, allocations: 0 / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.2436, allocations: 0 / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.244, allocations: 0.5409 MB / 0.916 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.2442, allocations: 283.6 kB / 0.9163 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2444, allocations: 0.6848 MB / 0.9169 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-06/0.2444, allocations: 7.438 kB / 0.9169 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2444, allocations: 3.938 kB / 0.9169 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.00639/0.2508, allocations: 4.701 MB / 0.9215 GB, free: 42.17 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)