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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.745/2.745, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001533/0.001533, allocations: 179 kB / 370.8 MB, free: 10.89 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.1/2.1, 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.001122/0.001122, allocations: 102.9 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005311, allocations: 13.08 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2139, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.912/1.126, allocations: 146.5 MB / 1.121 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.126, allocations: 117.5 kB / 1.121 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07178/1.198, allocations: 17.97 MB / 1.139 GB, free: 27.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/1.198, allocations: 7.844 kB / 1.139 GB, free: 27.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.172e-05/1.198, allocations: 3.844 kB / 1.139 GB, free: 27.55 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001248/1.199, allocations: 0.6556 MB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.199, allocations: 15.77 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.195e-05/1.2, allocations: 55.73 kB / 1.14 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/1.2, allocations: 46.7 kB / 1.14 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/1.2, allocations: 352.8 kB / 1.14 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.2, allocations: 19.84 kB / 1.14 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/1.2, allocations: 23.06 kB / 1.14 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/1.201, allocations: 205.2 kB / 1.14 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.201, allocations: 7.984 kB / 1.14 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.201, allocations: 10.78 kB / 1.14 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.201, allocations: 3.844 kB / 1.14 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/1.202, allocations: 174.2 kB / 1.141 GB, free: 26.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/1.203, allocations: 0.8772 MB / 1.141 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/1.204, allocations: 157.1 kB / 1.142 GB, free: 25.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/1.204, allocations: 7.672 kB / 1.142 GB, free: 25.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.204, allocations: 34.56 kB / 1.142 GB, free: 25.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.346e-06/1.204, allocations: 0 / 1.142 GB, free: 25.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009018/1.205, allocations: 272 kB / 1.142 GB, free: 25.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.205, allocations: 55.41 kB / 1.142 GB, free: 25.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.205, allocations: 370.8 kB / 1.142 GB, free: 25.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.205, allocations: 32.17 kB / 1.142 GB, free: 25.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/1.206, allocations: 206.7 kB / 1.143 GB, free: 25.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/1.206, allocations: 57.73 kB / 1.143 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/1.206, allocations: 2.438 kB / 1.143 GB, free: 25.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.206, allocations: 347.3 kB / 1.143 GB, free: 25.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.206, allocations: 63.06 kB / 1.143 GB, free: 25.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.206, allocations: 66.27 kB / 1.143 GB, free: 25.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/1.207, allocations: 72.33 kB / 1.143 GB, free: 25.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.207, allocations: 0 / 1.143 GB, free: 25.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006089/1.207, allocations: 218.9 kB / 1.143 GB, free: 24.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.207, allocations: 3.875 kB / 1.143 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.207, allocations: 0 / 1.143 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.207, allocations: 3.969 kB / 1.143 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/1.208, allocations: 57.47 kB / 1.143 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.208, allocations: 0 / 1.143 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/1.208, allocations: 27.17 kB / 1.143 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/1.208, allocations: 3.844 kB / 1.143 GB, free: 24.95 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 (20): * Single equations (assignments): 20 * 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.0002696/1.208, allocations: 173.5 kB / 1.144 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.209, allocations: 34.91 kB / 1.144 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/1.209, allocations: 45.62 kB / 1.144 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.209, allocations: 3.844 kB / 1.144 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.209, allocations: 0 / 1.144 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.209, allocations: 3.984 kB / 1.144 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/1.209, allocations: 379.6 kB / 1.144 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.209, allocations: 0 / 1.144 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/1.21, allocations: 54.47 kB / 1.144 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.21, allocations: 0 / 1.144 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.21, allocations: 7.5 kB / 1.144 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.21, allocations: 7.984 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.21, allocations: 7.922 kB / 1.144 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/1.211, allocations: 390.8 kB / 1.144 GB, free: 24.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.211, allocations: 118.7 kB / 1.145 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-05/1.211, allocations: 3.125 kB / 1.145 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/1.211, allocations: 15.64 kB / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/1.211, allocations: 11.7 kB / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/1.211, allocations: 3.781 kB / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004766/1.212, allocations: 305 kB / 1.145 GB, free: 24.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.633e-06/1.212, allocations: 0 / 1.145 GB, free: 24.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004932/1.212, allocations: 85.28 kB / 1.145 GB, free: 24.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.001555/1.214, allocations: 1.077 MB / 1.146 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000558/1.215, allocations: 165.4 kB / 1.146 GB, free: 23.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.215, allocations: 0 / 1.146 GB, free: 23.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/1.215, allocations: 86.25 kB / 1.146 GB, free: 23.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/1.216, allocations: 83.02 kB / 1.146 GB, free: 23.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.22, allocations: 2.191 MB / 1.148 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/1.221, allocations: 0.7994 MB / 1.149 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002993/1.221, allocations: 34.17 kB / 1.149 GB, free: 21.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.222, allocations: 120.5 kB / 1.149 GB, free: 21.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.222, allocations: 0 / 1.149 GB, free: 21.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/1.258, allocations: 9.209 MB / 1.158 GB, free: 15.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/1.258, allocations: 248.5 kB / 1.159 GB, free: 15.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.931, allocations: 0 / 1.159 GB, free: 15.16 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)