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.5/2.5, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001462/0.001462, allocations: 173.4 kB / 370.8 MB, free: 10.88 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.035/2.035, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001177/0.001177, allocations: 101.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006661/0.0006662, allocations: 17.05 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2221, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.141, allocations: 148.6 MB / 1.123 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.141, allocations: 113.7 kB / 1.124 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08752/1.229, allocations: 22.18 MB / 1.145 GB, free: 24.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.168e-06/1.229, allocations: 0 / 1.145 GB, free: 24.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.209e-05/1.229, allocations: 18.66 kB / 1.145 GB, free: 24.86 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001862/1.231, allocations: 0.841 MB / 1.146 GB, free: 24.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.231, allocations: 11.73 kB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/1.231, allocations: 87.52 kB / 1.146 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.231, allocations: 77.91 kB / 1.146 GB, free: 24.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/1.232, allocations: 446.9 kB / 1.147 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/1.232, allocations: 36.66 kB / 1.147 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.232, allocations: 45.91 kB / 1.147 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.233, allocations: 419.5 kB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.233, allocations: 7.438 kB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/1.233, allocations: 18.03 kB / 1.147 GB, free: 23.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.233, allocations: 15.52 kB / 1.147 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.234, allocations: 378 kB / 1.148 GB, free: 23.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/1.237, allocations: 1.536 MB / 1.149 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/1.238, allocations: 344.8 kB / 1.149 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/1.238, allocations: 3.844 kB / 1.149 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.238, allocations: 38.34 kB / 1.149 GB, free: 22.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.126e-06/1.238, allocations: 0 / 1.149 GB, free: 22.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001427/1.24, allocations: 0.5009 MB / 1.15 GB, free: 22.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.24, allocations: 59.97 kB / 1.15 GB, free: 22.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/1.241, allocations: 430.4 kB / 1.15 GB, free: 22.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/1.241, allocations: 29.45 kB / 1.15 GB, free: 22.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/1.241, allocations: 273.9 kB / 1.151 GB, free: 22.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.241, allocations: 145.5 kB / 1.151 GB, free: 22.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/1.241, allocations: 11.16 kB / 1.151 GB, free: 22.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.241, allocations: 371.6 kB / 1.151 GB, free: 21.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/1.242, allocations: 129.2 kB / 1.151 GB, free: 21.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/1.242, allocations: 124.5 kB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/1.242, allocations: 140.4 kB / 1.152 GB, free: 21.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/1.242, allocations: 0 / 1.152 GB, free: 21.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001054/1.243, allocations: 401.7 kB / 1.152 GB, free: 21.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.244, allocations: 7.953 kB / 1.152 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.244, allocations: 4 kB / 1.152 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.244, allocations: 3.875 kB / 1.152 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/1.244, allocations: 123.5 kB / 1.152 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.244, allocations: 3.812 kB / 1.152 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/1.245, allocations: 52.89 kB / 1.152 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/1.245, allocations: 7.75 kB / 1.152 GB, free: 21.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 (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.0003971/1.245, allocations: 202.5 kB / 1.152 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.246, allocations: 50.34 kB / 1.152 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/1.246, allocations: 59.72 kB / 1.152 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-06/1.246, allocations: 7.688 kB / 1.152 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.246, allocations: 0 / 1.152 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.246, allocations: 0 / 1.152 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/1.247, allocations: 0.5749 MB / 1.153 GB, free: 21.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.247, allocations: 0 / 1.153 GB, free: 21.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/1.248, allocations: 130.7 kB / 1.153 GB, free: 21.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.248, allocations: 3.938 kB / 1.153 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/1.248, allocations: 10.66 kB / 1.153 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.248, allocations: 3.984 kB / 1.153 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.248, allocations: 0 / 1.153 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.249, allocations: 0.6643 MB / 1.154 GB, free: 20.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/1.25, allocations: 138.6 kB / 1.154 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.25, allocations: 18.14 kB / 1.154 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.25, allocations: 19.39 kB / 1.154 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/1.25, allocations: 23.06 kB / 1.154 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/1.25, allocations: 10.81 kB / 1.154 GB, free: 20.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005955/1.251, allocations: 347 kB / 1.154 GB, free: 20.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.251, allocations: 0 / 1.154 GB, free: 20.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006583/1.252, allocations: 163.9 kB / 1.154 GB, free: 20.54 MB / 0.698 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 () * Number of clocked 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.002117/1.254, allocations: 1.373 MB / 1.156 GB, free: 19.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009021/1.255, allocations: 334.4 kB / 1.156 GB, free: 19.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.255, allocations: 0 / 1.156 GB, free: 19.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004262/1.255, allocations: 187.2 kB / 1.156 GB, free: 19.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/1.256, allocations: 115.2 kB / 1.156 GB, free: 19.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/1.263, allocations: 3.268 MB / 1.16 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/1.263, allocations: 0.886 MB / 1.16 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003677/1.264, allocations: 48.38 kB / 1.161 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/1.264, allocations: 203.2 kB / 1.161 GB, free: 15.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/1.264, allocations: 0 / 1.161 GB, free: 15.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/1.32, allocations: 12.38 MB / 1.173 GB, free: 3.203 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003589/1.321, allocations: 244.6 kB / 1.173 GB, free: 2.871 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.394, allocations: 0 / 1.173 GB, free: 2.871 MB / 0.698 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)