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.45/1.45, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001496/0.001496, allocations: 180.9 kB / 326.5 MB, free: 2.695 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.044/2.044, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0009609/0.0009606, allocations: 90.58 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 11.66 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00164/0.2689, allocations: 1.168 MB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004377/0.2733, allocations: 3.065 MB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.2733, allocations: 0 / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2734, allocations: 0 / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.2735, allocations: 15.84 kB / 0.9009 GB, free: 63.87 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.003846/0.2773, allocations: 1.444 MB / 0.9024 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.2774, allocations: 47.67 kB / 0.9024 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.2775, allocations: 0 / 0.9024 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.2775, allocations: 11.94 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.516e-05/0.2775, allocations: 19.92 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2775, allocations: 0 / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.2797, allocations: 1.443 MB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.2798, allocations: 11.94 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.2798, allocations: 23.86 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2811, allocations: 0.7682 MB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2811, allocations: 3.938 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2811, allocations: 0 / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2811, allocations: 0 / 0.9046 GB, free: 60.11 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.0006693/0.2818, allocations: 0.503 MB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2819, allocations: 12.03 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.2819, allocations: 76.22 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.282, allocations: 247.6 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2821, allocations: 154.9 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2821, allocations: 154.9 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.57e-05/0.2822, allocations: 109 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2822, allocations: 79.27 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2822, allocations: 154.6 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.2822, allocations: 150.6 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.2823, allocations: 158.5 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.2825, allocations: 461.8 kB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.2826, allocations: 181.1 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.2826, allocations: 84.14 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2826, allocations: 75.28 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.2826, allocations: 109.8 kB / 0.9072 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2826, allocations: 0 / 0.9072 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.673e-05/0.2827, allocations: 29.7 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2828, allocations: 130.7 kB / 0.9074 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2829, allocations: 132.8 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.2829, allocations: 25.7 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.2829, allocations: 96.03 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.283, allocations: 7.875 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.283, allocations: 13.72 kB / 0.9076 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.2831, allocations: 314.8 kB / 0.9079 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.2831, allocations: 4 kB / 0.9079 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.2831, allocations: 4 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.2831, allocations: 20.88 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2832, allocations: 0 / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.2833, allocations: 45.64 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2833, allocations: 4 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.2833, allocations: 4 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2833, allocations: 3.984 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.2834, allocations: 4 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2834, allocations: 3.938 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.2834, allocations: 7.844 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2834, allocations: 4 kB / 0.908 GB, free: 56.38 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 6.572e-05/0.2835, allocations: 189.2 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.2835, allocations: 108.9 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2836, allocations: 108.8 kB / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.2836, allocations: 188.1 kB / 0.9086 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.2836, allocations: 176.3 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.2837, allocations: 188.2 kB / 0.909 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2838, allocations: 409.2 kB / 0.9093 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.2839, allocations: 108.9 kB / 0.9095 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.2839, allocations: 104.9 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/0.2839, allocations: 176.3 kB / 0.9097 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.284, allocations: 192.4 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-05/0.284, allocations: 180.3 kB / 0.9101 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.854e-05/0.284, allocations: 180.2 kB / 0.9102 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.2841, allocations: 311.8 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.2842, allocations: 193.9 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.2842, allocations: 180.3 kB / 0.9109 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.2843, allocations: 105 kB / 0.911 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.2843, allocations: 184.2 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2843, allocations: 101 kB / 0.9113 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.2844, allocations: 99.27 kB / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2844, allocations: 0 / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007781/0.2852, allocations: 275.8 kB / 0.9116 GB, free: 52.47 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.001256/0.2864, allocations: 0.5535 MB / 0.9122 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.2865, allocations: 37.64 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2866, allocations: 0 / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2866, allocations: 0 / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2869, allocations: 0.5341 MB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.2872, allocations: 263.5 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2874, allocations: 0.6848 MB / 0.9136 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2874, allocations: 7.438 kB / 0.9137 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2874, allocations: 0 / 0.9137 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.008247/0.2957, allocations: 4.71 MB / 0.9183 GB, free: 45.62 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)