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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 190.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008796/0.0008796, allocations: 86.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 4 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.093, allocations: 142.4 MB / 1.031 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.094, allocations: 114.5 kB / 1.031 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06121/1.155, allocations: 22.21 MB / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.934e-06/1.155, allocations: 0 / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.853e-05/1.155, allocations: 12 kB / 1.053 GB, free: 5.566 MB / 0.6667 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.001208/1.156, allocations: 0.7482 MB / 1.054 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.156, allocations: 8.031 kB / 1.054 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/1.156, allocations: 93.58 kB / 1.054 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.156, allocations: 71.16 kB / 1.054 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/1.157, allocations: 438.4 kB / 1.054 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/1.157, allocations: 37.42 kB / 1.054 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/1.157, allocations: 48.12 kB / 1.054 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/1.158, allocations: 403 kB / 1.055 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.158, allocations: 0 / 1.055 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/1.158, allocations: 29.23 kB / 1.055 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/1.158, allocations: 12 kB / 1.055 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/1.159, allocations: 329.6 kB / 1.055 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/1.161, allocations: 1.543 MB / 1.056 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/1.161, allocations: 319.3 kB / 1.057 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/1.162, allocations: 331.1 kB / 1.057 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/1.162, allocations: 4 kB / 1.057 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.162, allocations: 37.88 kB / 1.057 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 2.424e-06/1.162, allocations: 4 kB / 1.057 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0005929/1.163, allocations: 348.2 kB / 1.057 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.163, allocations: 55.41 kB / 1.057 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/1.163, allocations: 433 kB / 1.058 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/1.163, allocations: 33.39 kB / 1.058 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/1.163, allocations: 274.9 kB / 1.058 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/1.164, allocations: 146.9 kB / 1.058 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/1.164, allocations: 3.875 kB / 1.058 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.164, allocations: 365.8 kB / 1.059 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/1.164, allocations: 104.5 kB / 1.059 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/1.164, allocations: 111.6 kB / 1.059 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/1.164, allocations: 127.5 kB / 1.059 GB, free: 480 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.164, allocations: 0 / 1.059 GB, free: 480 kB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005095/1.165, allocations: 369.5 kB / 1.059 GB, free: 208 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.165, allocations: 4 kB / 1.059 GB, free: 204 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.165, allocations: 0 / 1.059 GB, free: 204 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.165, allocations: 4 kB / 1.059 GB, free: 200 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.166, allocations: 127 kB / 1.059 GB, free: 76 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.166, allocations: 7.938 kB / 1.059 GB, free: 68 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/1.166, allocations: 54.03 kB / 1.06 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.166, allocations: 11 kB / 1.06 GB, free: 12 kB / 0.6667 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.0001203/1.166, allocations: 121.1 kB / 1.06 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/1.166, allocations: 51.34 kB / 1.06 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/1.166, allocations: 56.02 kB / 1.06 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.166, allocations: 11.98 kB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.166, allocations: 3.953 kB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.166, allocations: 4 kB / 1.06 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/1.167, allocations: 0.571 MB / 1.06 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.167, allocations: 0 / 1.06 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/1.168, allocations: 127.4 kB / 1.06 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.168, allocations: 0 / 1.06 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/1.168, allocations: 11.62 kB / 1.06 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.168, allocations: 0 / 1.06 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.168, allocations: 8 kB / 1.06 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/1.169, allocations: 0.6115 MB / 1.061 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.169, allocations: 134.6 kB / 1.061 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/1.169, allocations: 14.8 kB / 1.061 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.169, allocations: 27.23 kB / 1.061 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/1.169, allocations: 19.97 kB / 1.061 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/1.169, allocations: 11.06 kB / 1.061 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004158/1.17, allocations: 338.7 kB / 1.062 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/1.17, allocations: 0 / 1.062 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005187/1.17, allocations: 160.5 kB / 1.062 GB, free: 14.14 MB / 0.6823 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.001525/1.172, allocations: 1.313 MB / 1.063 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005078/1.172, allocations: 293.5 kB / 1.063 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.172, allocations: 0 / 1.063 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/1.173, allocations: 159.8 kB / 1.063 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/1.173, allocations: 122.9 kB / 1.064 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/1.175, allocations: 1.016 MB / 1.065 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/1.176, allocations: 0.8818 MB / 1.065 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000224/1.176, allocations: 48.36 kB / 1.065 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/1.176, allocations: 199 kB / 1.066 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of SimCode: time 3.035e-06/1.176, allocations: 0 / 1.066 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/1.205, allocations: 12.56 MB / 1.078 GB, free: 14.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.205, allocations: 224.1 kB / 1.078 GB, free: 14.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.714, allocations: 0 / 1.078 GB, free: 14.16 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)