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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, 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.001066/0.001066, allocations: 184.8 kB / 321.3 MB, free: 14.63 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.699/1.699, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.001053/0.001052, allocations: 90.53 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.565e-05, allocations: 4 kB / 0.7881 GB, free: 96.93 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2304, allocations: 106.3 MB / 0.8919 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8512/1.082, allocations: 140.3 MB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/1.082, allocations: 112 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05772/1.14, allocations: 17.99 MB / 1.047 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.194e-06/1.14, allocations: 0 / 1.047 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.626e-05/1.14, allocations: 8 kB / 1.047 GB, free: 11.21 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008162/1.141, allocations: 0.5712 MB / 1.047 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.141, allocations: 12.03 kB / 1.047 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.629e-05/1.141, allocations: 56.45 kB / 1.047 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.145e-05/1.141, allocations: 55.33 kB / 1.047 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/1.142, allocations: 348.8 kB / 1.048 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/1.142, allocations: 18.94 kB / 1.048 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/1.142, allocations: 25.28 kB / 1.048 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/1.142, allocations: 190.4 kB / 1.048 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.142, allocations: 0 / 1.048 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.142, allocations: 7.75 kB / 1.048 GB, free: 10 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.142, allocations: 4 kB / 1.048 GB, free: 10 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/1.142, allocations: 143.8 kB / 1.048 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/1.144, allocations: 0.8634 MB / 1.049 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/1.144, allocations: 152.3 kB / 1.049 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.144, allocations: 96.52 kB / 1.049 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/1.144, allocations: 3.938 kB / 1.049 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.144, allocations: 38.05 kB / 1.049 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/1.144, allocations: 0 / 1.049 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003327/1.144, allocations: 164 kB / 1.049 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.144, allocations: 51.41 kB / 1.049 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/1.145, allocations: 374.1 kB / 1.05 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/1.145, allocations: 29.27 kB / 1.05 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.145, allocations: 205.2 kB / 1.05 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/1.145, allocations: 69.27 kB / 1.05 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/1.145, allocations: 0 / 1.05 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.145, allocations: 352.8 kB / 1.05 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/1.145, allocations: 44.64 kB / 1.05 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/1.146, allocations: 41.19 kB / 1.05 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/1.146, allocations: 54.08 kB / 1.05 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.146, allocations: 7.984 kB / 1.05 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000259/1.146, allocations: 176.3 kB / 1.051 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.146, allocations: 5.406 kB / 1.051 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.146, allocations: 0 / 1.051 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.146, allocations: 0 / 1.051 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.146, allocations: 63.52 kB / 1.051 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.146, allocations: 4 kB / 1.051 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/1.146, allocations: 23.83 kB / 1.051 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.146, allocations: 11.48 kB / 1.051 GB, free: 7.543 MB / 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 (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 8.684e-05/1.147, allocations: 112.1 kB / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/1.147, allocations: 35.53 kB / 1.051 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/1.147, allocations: 40 kB / 1.051 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.147, allocations: 4 kB / 1.051 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.147, allocations: 0 / 1.051 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.147, allocations: 7.922 kB / 1.051 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/1.147, allocations: 381.5 kB / 1.051 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.147, allocations: 0 / 1.051 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/1.147, allocations: 55.41 kB / 1.051 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.147, allocations: 0 / 1.051 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.147, allocations: 4 kB / 1.051 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.147, allocations: 0 / 1.051 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.147, allocations: 3.984 kB / 1.051 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/1.148, allocations: 350.2 kB / 1.052 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.148, allocations: 115.6 kB / 1.052 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/1.148, allocations: 2.938 kB / 1.052 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/1.148, allocations: 23.27 kB / 1.052 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/1.148, allocations: 11.98 kB / 1.052 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/1.148, allocations: 0 / 1.052 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003301/1.149, allocations: 297.6 kB / 1.052 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/1.149, allocations: 4.062 kB / 1.052 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003561/1.149, allocations: 90.64 kB / 1.052 GB, free: 6.203 MB / 0.6667 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 () * 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.00106/1.15, allocations: 1.045 MB / 1.053 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002286/1.15, allocations: 119.5 kB / 1.053 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.15, allocations: 0 / 1.053 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/1.15, allocations: 65.06 kB / 1.053 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/1.151, allocations: 80.53 kB / 1.053 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.152, allocations: 0.6044 MB / 1.054 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/1.153, allocations: 0.8016 MB / 1.055 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001201/1.153, allocations: 38.89 kB / 1.055 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.153, allocations: 117.5 kB / 1.055 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.153, allocations: 0 / 1.055 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/1.178, allocations: 9.36 MB / 1.064 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.178, allocations: 225.7 kB / 1.064 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.553, allocations: 0 / 1.064 GB, free: 10.22 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)