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.51/1.51, allocations: 252 MB / 268 MB, free: 10.85 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.001259/0.001259, allocations: 178.8 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008991/0.0008991, allocations: 85.91 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8.406 kB / 0.7977 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 106.3 MB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001625/0.2405, allocations: 1.166 MB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.2446, allocations: 2.978 MB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2446, allocations: 0 / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.2447, allocations: 0 / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.2447, allocations: 19.84 kB / 0.9056 GB, free: 59.07 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.003667/0.2484, allocations: 1.429 MB / 0.907 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.2485, allocations: 43.67 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.2485, allocations: 4 kB / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.2486, allocations: 11.94 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.562e-05/0.2486, allocations: 11.94 kB / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2486, allocations: 0 / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.2515, allocations: 1.447 MB / 0.9085 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.2515, allocations: 7.938 kB / 0.9085 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.2516, allocations: 49.56 kB / 0.9085 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.2536, allocations: 0.7684 MB / 0.9093 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2536, allocations: 3.938 kB / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2536, allocations: 0 / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.2536, allocations: 0 / 0.9093 GB, free: 55.3 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.001137/0.2548, allocations: 0.5107 MB / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.2548, allocations: 8.031 kB / 0.9098 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.2549, allocations: 84.2 kB / 0.9099 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2551, allocations: 247.6 kB / 0.9101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.2552, allocations: 158.9 kB / 0.9102 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.2552, allocations: 150.9 kB / 0.9104 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.2553, allocations: 109 kB / 0.9105 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2554, allocations: 75.28 kB / 0.9106 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.2554, allocations: 150.6 kB / 0.9107 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.2555, allocations: 162.6 kB / 0.9109 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.2555, allocations: 150.6 kB / 0.911 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.2558, allocations: 473.8 kB / 0.9115 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.2559, allocations: 169.1 kB / 0.9116 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.256, allocations: 84.14 kB / 0.9117 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.256, allocations: 75.28 kB / 0.9118 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.256, allocations: 117.8 kB / 0.9119 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.256, allocations: 0 / 0.9119 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.2562, allocations: 29.7 kB / 0.9119 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.2562, allocations: 126.7 kB / 0.912 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.2564, allocations: 128.8 kB / 0.9122 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2564, allocations: 29.7 kB / 0.9122 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2565, allocations: 96.05 kB / 0.9123 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.2565, allocations: 0 / 0.9123 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.2565, allocations: 3.938 kB / 0.9123 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2566, allocations: 318.8 kB / 0.9126 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.2567, allocations: 4 kB / 0.9126 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.2567, allocations: 4 kB / 0.9126 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.2567, allocations: 16.89 kB / 0.9126 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2567, allocations: 4.031 kB / 0.9126 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001596/0.2569, allocations: 49.62 kB / 0.9127 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2569, allocations: 4 kB / 0.9127 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.257, allocations: 8 kB / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.257, allocations: 3.938 kB / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.257, allocations: 0 / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.257, allocations: 0 / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.2571, allocations: 7.844 kB / 0.9127 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2571, allocations: 4 kB / 0.9127 GB, free: 51.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2572, allocations: 191.3 kB / 0.9129 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.2573, allocations: 108.9 kB / 0.913 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.2573, allocations: 108.8 kB / 0.9131 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/0.2574, allocations: 188.2 kB / 0.9133 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-05/0.2574, allocations: 176.3 kB / 0.9134 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-05/0.2575, allocations: 184.2 kB / 0.9136 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2577, allocations: 413.2 kB / 0.914 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.2577, allocations: 104.9 kB / 0.9141 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.2577, allocations: 105.1 kB / 0.9142 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.464e-05/0.2578, allocations: 184.3 kB / 0.9144 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.2578, allocations: 188.2 kB / 0.9145 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.667e-05/0.2579, allocations: 184.3 kB / 0.9147 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.395e-05/0.258, allocations: 176.3 kB / 0.9149 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.2581, allocations: 311.7 kB / 0.9152 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2581, allocations: 193.9 kB / 0.9154 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.2582, allocations: 176.3 kB / 0.9155 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.2583, allocations: 105 kB / 0.9156 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.2584, allocations: 184.2 kB / 0.9158 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.2584, allocations: 109 kB / 0.9159 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.2584, allocations: 95.27 kB / 0.916 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2585, allocations: 0 / 0.916 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001015/0.2595, allocations: 279.8 kB / 0.9163 GB, free: 47.67 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 (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.001494/0.261, allocations: 0.5441 MB / 0.9168 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2611, allocations: 41.64 kB / 0.9168 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2611, allocations: 0 / 0.9168 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.2611, allocations: 0 / 0.9168 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2615, allocations: 0.5263 MB / 0.9174 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2619, allocations: 285.4 kB / 0.9176 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.262, allocations: 0.6848 MB / 0.9183 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.2621, allocations: 11.38 kB / 0.9183 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2621, allocations: 0 / 0.9183 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.008049/0.2701, allocations: 4.717 MB / 0.9229 GB, free: 40.81 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)