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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.742/1.742, allocations: 285.4 MB / 298 MB, free: 5.949 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.001481/0.001481, allocations: 168.8 kB / 366.4 MB, free: 2.07 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.771/1.771, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009122, allocations: 93.12 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.806e-05, allocations: 4 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7646, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.9976, allocations: 158.5 MB / 1.126 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.998, allocations: 123.9 kB / 1.126 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04574/1.044, allocations: 14.95 MB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/1.044, allocations: 0 / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.044, allocations: 0 / 1.14 GB, free: 10.27 MB / 0.7448 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.001155/1.045, allocations: 0.5576 MB / 1.141 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.045, allocations: 8.031 kB / 1.141 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.481e-05/1.045, allocations: 105.8 kB / 1.141 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/1.045, allocations: 79.28 kB / 1.141 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/1.045, allocations: 255.8 kB / 1.141 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/1.045, allocations: 154.6 kB / 1.142 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/1.045, allocations: 150.6 kB / 1.142 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/1.046, allocations: 101 kB / 1.142 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.046, allocations: 83.22 kB / 1.142 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/1.046, allocations: 154.6 kB / 1.142 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/1.046, allocations: 150.6 kB / 1.142 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/1.046, allocations: 150.6 kB / 1.142 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/1.046, allocations: 469.8 kB / 1.143 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/1.046, allocations: 170.4 kB / 1.143 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/1.046, allocations: 88.06 kB / 1.143 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/1.046, allocations: 83.27 kB / 1.143 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.282e-05/1.047, allocations: 115.7 kB / 1.143 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/1.047, allocations: 0 / 1.143 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.174e-05/1.047, allocations: 29.61 kB / 1.143 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/1.047, allocations: 126.7 kB / 1.143 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.047, allocations: 122.4 kB / 1.144 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.047, allocations: 25.7 kB / 1.144 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/1.047, allocations: 88.14 kB / 1.144 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/1.047, allocations: 0 / 1.144 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.047, allocations: 4 kB / 1.144 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.047, allocations: 318.8 kB / 1.144 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/1.047, allocations: 10.56 kB / 1.144 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/1.047, allocations: 8 kB / 1.144 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/1.047, allocations: 8.031 kB / 1.144 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.047, allocations: 0 / 1.144 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/1.047, allocations: 49.59 kB / 1.144 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.047, allocations: 8 kB / 1.144 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.047, allocations: 0 / 1.144 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.047, allocations: 0 / 1.144 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/1.047, allocations: 4 kB / 1.144 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.047, allocations: 0 / 1.144 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/1.047, allocations: 0 / 1.144 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.048, allocations: 0 / 1.144 GB, free: 6.426 MB / 0.7448 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 () * 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.0001176/1.048, allocations: 188.2 kB / 1.144 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/1.048, allocations: 112.8 kB / 1.144 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/1.048, allocations: 108.6 kB / 1.144 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.298e-05/1.048, allocations: 184.4 kB / 1.145 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.407e-05/1.048, allocations: 180.3 kB / 1.145 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-05/1.048, allocations: 188.2 kB / 1.145 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/1.048, allocations: 413.1 kB / 1.145 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.329e-05/1.048, allocations: 101 kB / 1.145 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/1.049, allocations: 108.9 kB / 1.146 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-05/1.049, allocations: 181.6 kB / 1.146 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/1.049, allocations: 180.2 kB / 1.146 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.643e-05/1.049, allocations: 184.2 kB / 1.146 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.881e-05/1.049, allocations: 180.3 kB / 1.146 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/1.049, allocations: 307.7 kB / 1.147 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.049, allocations: 190 kB / 1.147 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/1.049, allocations: 188.2 kB / 1.147 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/1.049, allocations: 102.5 kB / 1.147 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/1.049, allocations: 180.2 kB / 1.147 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/1.05, allocations: 105 kB / 1.147 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.379e-05/1.05, allocations: 101.3 kB / 1.147 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.147 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00135/1.051, allocations: 323.4 kB / 1.148 GB, free: 2.484 MB / 0.7448 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 () * 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.001611/1.053, allocations: 1.214 MB / 1.149 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001114/1.053, allocations: 41.64 kB / 1.149 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.053, allocations: 4 kB / 1.149 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-06/1.053, allocations: 4.062 kB / 1.149 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/1.053, allocations: 0.5252 MB / 1.149 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/1.054, allocations: 337.3 kB / 1.15 GB, free: 320 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.054, allocations: 0.6849 MB / 1.15 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.594e-05/1.054, allocations: 7.984 kB / 1.15 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.054, allocations: 15.44 kB / 1.15 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/1.054, allocations: 0 / 1.15 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/1.074, allocations: 6.43 MB / 1.157 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.075, allocations: 286.6 kB / 1.157 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.87, allocations: 3.938 kB / 1.157 GB, free: 9.035 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)