Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.2 MB / 303.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 179.4 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.000916, allocations: 87.48 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 12.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2434, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7635/1.007, allocations: 158.5 MB / 1.134 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.007, allocations: 128.7 kB / 1.134 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04119/1.048, allocations: 15.02 MB / 1.149 GB, free: 23.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.049, allocations: 0 / 1.149 GB, free: 23.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.049, allocations: 0 / 1.149 GB, free: 23.17 MB / 0.698 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.001005/1.05, allocations: 0.5774 MB / 1.15 GB, free: 22.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.05, allocations: 7.719 kB / 1.15 GB, free: 22.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/1.05, allocations: 105.8 kB / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/1.05, allocations: 79.16 kB / 1.15 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.05, allocations: 255.2 kB / 1.15 GB, free: 22.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/1.05, allocations: 153.5 kB / 1.15 GB, free: 22.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/1.05, allocations: 150.6 kB / 1.15 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.724e-05/1.05, allocations: 112.7 kB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.05, allocations: 75.28 kB / 1.151 GB, free: 21.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/1.05, allocations: 158.5 kB / 1.151 GB, free: 21.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/1.05, allocations: 150.6 kB / 1.151 GB, free: 21.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/1.05, allocations: 150.6 kB / 1.151 GB, free: 21.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/1.051, allocations: 472.2 kB / 1.151 GB, free: 20.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.936e-05/1.051, allocations: 169.1 kB / 1.152 GB, free: 20.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/1.051, allocations: 75.28 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/1.051, allocations: 109.7 kB / 1.152 GB, free: 20.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/1.051, allocations: 4 kB / 1.152 GB, free: 20.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001143/1.051, allocations: 29.61 kB / 1.152 GB, free: 20.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/1.051, allocations: 130.6 kB / 1.152 GB, free: 20.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.051, allocations: 124.6 kB / 1.152 GB, free: 20.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/1.051, allocations: 25.7 kB / 1.152 GB, free: 20.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/1.051, allocations: 87.58 kB / 1.152 GB, free: 19.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/1.051, allocations: 0 / 1.152 GB, free: 19.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.051, allocations: 0 / 1.152 GB, free: 19.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.052, allocations: 326 kB / 1.153 GB, free: 19.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/1.052, allocations: 11.81 kB / 1.153 GB, free: 19.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/1.052, allocations: 3.812 kB / 1.153 GB, free: 19.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/1.052, allocations: 3.75 kB / 1.153 GB, free: 19.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.052, allocations: 0 / 1.153 GB, free: 19.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/1.052, allocations: 48.88 kB / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.052, allocations: 7.531 kB / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.052, allocations: 0 / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.052, allocations: 3.375 kB / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/1.052, allocations: 0 / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.052, allocations: 8 kB / 1.153 GB, free: 19.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/1.052, allocations: 3.938 kB / 1.153 GB, free: 19.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/1.052, allocations: 3.812 kB / 1.153 GB, free: 19.59 MB / 0.698 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 0.0001063/1.052, allocations: 185.1 kB / 1.153 GB, free: 19.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.052, allocations: 112.6 kB / 1.153 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/1.052, allocations: 111.7 kB / 1.153 GB, free: 19.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/1.052, allocations: 184 kB / 1.153 GB, free: 18.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.082e-05/1.052, allocations: 180.3 kB / 1.153 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/1.052, allocations: 179.4 kB / 1.154 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/1.053, allocations: 419.9 kB / 1.154 GB, free: 18.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-05/1.053, allocations: 104.2 kB / 1.154 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/1.053, allocations: 104.9 kB / 1.154 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/1.053, allocations: 184.4 kB / 1.154 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/1.053, allocations: 180.1 kB / 1.154 GB, free: 17.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-05/1.053, allocations: 184.2 kB / 1.155 GB, free: 17.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-05/1.053, allocations: 179.8 kB / 1.155 GB, free: 17.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/1.053, allocations: 312.9 kB / 1.155 GB, free: 16.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/1.053, allocations: 190 kB / 1.155 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/1.053, allocations: 188.1 kB / 1.155 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/1.053, allocations: 101 kB / 1.156 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/1.053, allocations: 180.2 kB / 1.156 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/1.054, allocations: 104.9 kB / 1.156 GB, free: 16.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.509e-05/1.054, allocations: 106.1 kB / 1.156 GB, free: 16.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.156 GB, free: 16.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001167/1.055, allocations: 319.6 kB / 1.156 GB, free: 15.92 MB / 0.698 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.002081/1.057, allocations: 1.21 MB / 1.157 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.057, allocations: 32.98 kB / 1.157 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.057, allocations: 3.844 kB / 1.157 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/1.057, allocations: 7.938 kB / 1.157 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/1.057, allocations: 0.5262 MB / 1.158 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.058, allocations: 0.5987 MB / 1.159 GB, free: 13.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/1.059, allocations: 0.6884 MB / 1.159 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.114e-05/1.059, allocations: 0 / 1.159 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/1.059, allocations: 18.62 kB / 1.159 GB, free: 13.11 MB / 0.698 GB Notification: Performance of SimCode: time 5.199e-06/1.059, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/1.082, allocations: 6.409 MB / 1.166 GB, free: 7.539 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/1.082, allocations: 319.9 kB / 1.166 GB, free: 7.176 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.915, allocations: 3.938 kB / 1.166 GB, free: 7.172 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)