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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 252 MB / 267 MB, free: 10.97 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.001275/0.001274, allocations: 177.7 kB / 326.6 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.844/1.844, allocations: 205.4 MB / 0.5777 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.0008075/0.0008074, allocations: 88.02 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.000426, allocations: 15.69 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 106.4 MB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001771/0.2431, allocations: 1.141 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004434/0.2476, allocations: 2.711 MB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.2477, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.2477, allocations: 11.92 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.2478, allocations: 3.938 kB / 0.9041 GB, free: 59.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.004277/0.2521, allocations: 1.302 MB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.2522, allocations: 43.62 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.298e-05/0.2522, allocations: 3.984 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.2523, allocations: 12 kB / 0.9055 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.2523, allocations: 19.86 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2523, allocations: 4 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.2548, allocations: 1.225 MB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2548, allocations: 8 kB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.2548, allocations: 29.7 kB / 0.9067 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.2562, allocations: 0.7021 MB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2562, allocations: 4 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2562, allocations: 0 / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2562, allocations: 0 / 0.9074 GB, free: 56.53 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.0007245/0.2569, allocations: 0.5028 MB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.257, allocations: 12.03 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2571, allocations: 109.8 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.2571, allocations: 87.22 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2573, allocations: 250.2 kB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.2573, allocations: 150.6 kB / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.2573, allocations: 158.6 kB / 0.9086 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.587e-05/0.2574, allocations: 104.9 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2574, allocations: 75.28 kB / 0.9088 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2574, allocations: 150.6 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.2575, allocations: 154.5 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.2575, allocations: 154.5 kB / 0.9093 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.2578, allocations: 469.9 kB / 0.9097 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.2578, allocations: 173.1 kB / 0.9099 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.2579, allocations: 84.14 kB / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2579, allocations: 75.28 kB / 0.91 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2579, allocations: 113.8 kB / 0.9101 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.2579, allocations: 0 / 0.9101 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.53e-05/0.258, allocations: 33.61 kB / 0.9102 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2581, allocations: 126.7 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2582, allocations: 132 kB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.2582, allocations: 25.7 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2583, allocations: 84.14 kB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.2583, allocations: 4 kB / 0.9105 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2583, allocations: 7.938 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.2584, allocations: 322.8 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.2584, allocations: 4 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.2584, allocations: 4 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.2585, allocations: 12.03 kB / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2585, allocations: 0 / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.2586, allocations: 49.59 kB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2586, allocations: 4 kB / 0.9109 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.2587, allocations: 8.062 kB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2587, allocations: 0 / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.2587, allocations: 0 / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2587, allocations: 0 / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.2588, allocations: 0 / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2588, allocations: 4 kB / 0.9109 GB, free: 52.71 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.514e-05/0.2589, allocations: 191.2 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.2589, allocations: 116.8 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.259, allocations: 108.9 kB / 0.9113 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.259, allocations: 188.2 kB / 0.9115 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/0.259, allocations: 180.3 kB / 0.9117 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.2591, allocations: 180.2 kB / 0.9118 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2593, allocations: 417.1 kB / 0.9122 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.2593, allocations: 105 kB / 0.9123 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.2593, allocations: 108.9 kB / 0.9124 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/0.2593, allocations: 180.3 kB / 0.9126 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.2594, allocations: 180.2 kB / 0.9128 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-05/0.2594, allocations: 180.2 kB / 0.9129 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.739e-05/0.2595, allocations: 176.3 kB / 0.9131 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/0.2595, allocations: 319.6 kB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.2596, allocations: 190 kB / 0.9136 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2596, allocations: 176.3 kB / 0.9138 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.2597, allocations: 105 kB / 0.9139 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.2598, allocations: 184.2 kB / 0.914 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2598, allocations: 105.3 kB / 0.9141 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.2599, allocations: 99.25 kB / 0.9142 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2599, allocations: 0 / 0.9142 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009606/0.2608, allocations: 275.8 kB / 0.9145 GB, free: 48.8 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.001552/0.2624, allocations: 1.169 MB / 0.9156 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2625, allocations: 37.69 kB / 0.9157 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2625, allocations: 0 / 0.9157 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.2625, allocations: 0 / 0.9157 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.263, allocations: 0.5264 MB / 0.9162 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.264, allocations: 0.6843 MB / 0.9169 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2642, allocations: 0.6809 MB / 0.9175 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.2642, allocations: 0 / 0.9175 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.2642, allocations: 22.98 kB / 0.9176 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2642, allocations: 0 / 0.9176 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.2908, allocations: 6.772 MB / 0.9242 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.2911, allocations: 330.1 kB / 0.9245 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.15, allocations: 0 / 0.9245 GB, free: 38.69 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)