Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.693/2.693, allocations: 284.7 MB / 297.2 MB, free: 6.383 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.001479/0.001478, allocations: 172.9 kB / 365.6 MB, free: 2.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.1 MB / 0.624 GB, free: 8.227 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.001021/0.001021, allocations: 94.98 kB / 0.7371 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.093e-05, allocations: 4 kB / 0.8574 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8424, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2631/1.106, allocations: 148.5 MB / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004432/1.106, allocations: 113.2 kB / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09986/1.206, allocations: 22.2 MB / 1.137 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.206, allocations: 4 kB / 1.137 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.689e-05/1.206, allocations: 12 kB / 1.137 GB, free: 13.73 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001762/1.208, allocations: 0.7585 MB / 1.138 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.208, allocations: 8.031 kB / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/1.208, allocations: 94.45 kB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/1.208, allocations: 75.16 kB / 1.138 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/1.209, allocations: 428.8 kB / 1.138 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.209, allocations: 37 kB / 1.138 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.209, allocations: 48 kB / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.211, allocations: 410.5 kB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.211, allocations: 4 kB / 1.139 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/1.211, allocations: 20 kB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/1.211, allocations: 12 kB / 1.139 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009963/1.212, allocations: 328 kB / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/1.216, allocations: 1.537 MB / 1.14 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/1.216, allocations: 323.2 kB / 1.141 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/1.217, allocations: 338.5 kB / 1.141 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/1.217, allocations: 4 kB / 1.141 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.217, allocations: 38.56 kB / 1.141 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 3.006e-06/1.217, allocations: 0 / 1.141 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.001012/1.218, allocations: 342.2 kB / 1.141 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.218, allocations: 59.34 kB / 1.142 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/1.219, allocations: 423.2 kB / 1.142 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/1.219, allocations: 37.7 kB / 1.142 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/1.22, allocations: 268.3 kB / 1.142 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/1.22, allocations: 149.8 kB / 1.142 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/1.22, allocations: 12 kB / 1.142 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.22, allocations: 358.8 kB / 1.143 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/1.22, allocations: 104.8 kB / 1.143 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/1.221, allocations: 109.2 kB / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/1.221, allocations: 134.6 kB / 1.143 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.221, allocations: 0 / 1.143 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001013/1.222, allocations: 363.9 kB / 1.143 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.222, allocations: 4 kB / 1.143 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.222, allocations: 0 / 1.143 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.222, allocations: 4 kB / 1.143 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.223, allocations: 135.8 kB / 1.144 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.223, allocations: 8.328 kB / 1.144 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/1.224, allocations: 51.67 kB / 1.144 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/1.224, allocations: 8 kB / 1.144 GB, free: 6.547 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001645/1.224, allocations: 121.2 kB / 1.144 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.224, allocations: 55.34 kB / 1.144 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.225, allocations: 56.89 kB / 1.144 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.225, allocations: 4 kB / 1.144 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/1.225, allocations: 7.891 kB / 1.144 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.225, allocations: 3.984 kB / 1.144 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.226, allocations: 0.5671 MB / 1.144 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.226, allocations: 4 kB / 1.144 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.227, allocations: 127.9 kB / 1.145 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.227, allocations: 0 / 1.145 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/1.227, allocations: 12 kB / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.227, allocations: 0 / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.227, allocations: 3.516 kB / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/1.228, allocations: 0.6151 MB / 1.145 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/1.229, allocations: 132.5 kB / 1.145 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.229, allocations: 12 kB / 1.145 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/1.229, allocations: 19.98 kB / 1.145 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.23, allocations: 31.95 kB / 1.145 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/1.23, allocations: 8 kB / 1.145 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006951/1.23, allocations: 341.2 kB / 1.146 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.23, allocations: 4 kB / 1.146 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007224/1.231, allocations: 155.5 kB / 1.146 GB, free: 4.199 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.002169/1.233, allocations: 1.304 MB / 1.147 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000847/1.234, allocations: 291.8 kB / 1.147 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.234, allocations: 0 / 1.147 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/1.235, allocations: 168 kB / 1.148 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.236, allocations: 118.4 kB / 1.148 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/1.239, allocations: 1.032 MB / 1.149 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/1.24, allocations: 0.8785 MB / 1.15 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004124/1.24, allocations: 62.25 kB / 1.15 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/1.24, allocations: 195.4 kB / 1.15 GB, free: 92 kB / 0.7448 GB Notification: Performance of SimCode: time 1.553e-06/1.24, allocations: 0 / 1.15 GB, free: 92 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06707/1.308, allocations: 12.53 MB / 1.162 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003878/1.308, allocations: 236.5 kB / 1.162 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.388, allocations: 0 / 1.162 GB, free: 3.668 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)