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.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.863 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.001002/0.001002, allocations: 179 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009308/0.0009308, allocations: 97.97 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.983e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2138, allocations: 106.3 MB / 0.8854 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7334/0.9473, allocations: 140.6 MB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.9476, allocations: 111.7 kB / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04693/0.9946, allocations: 17.75 MB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9946, allocations: 0 / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9947, allocations: 8 kB / 1.04 GB, free: 14.23 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.0007053/0.9954, allocations: 0.5793 MB / 1.041 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.9954, allocations: 12.03 kB / 1.041 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.9955, allocations: 47.73 kB / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.996, allocations: 350.8 kB / 1.041 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.996, allocations: 11.94 kB / 1.041 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.996, allocations: 15.91 kB / 1.041 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002452/0.9963, allocations: 133.8 kB / 1.041 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.9966, allocations: 142.1 kB / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9966, allocations: 4 kB / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.9966, allocations: 0 / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.9966, allocations: 7.953 kB / 1.041 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.9977, allocations: 0.8196 MB / 1.042 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.9979, allocations: 135.3 kB / 1.042 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.998, allocations: 92.16 kB / 1.042 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.9981, allocations: 4.219 kB / 1.042 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.9981, allocations: 30.56 kB / 1.042 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.9981, allocations: 3.938 kB / 1.042 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003042/0.9984, allocations: 162.3 kB / 1.043 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9984, allocations: 51.41 kB / 1.043 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.9988, allocations: 333.9 kB / 1.043 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.9989, allocations: 25.7 kB / 1.043 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.999, allocations: 205.2 kB / 1.043 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.9991, allocations: 62.02 kB / 1.043 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.9991, allocations: 0 / 1.043 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9992, allocations: 344.4 kB / 1.044 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.9993, allocations: 44.19 kB / 1.044 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.9994, allocations: 35.62 kB / 1.044 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.9995, allocations: 55.69 kB / 1.044 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9995, allocations: 0 / 1.044 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002173/0.9997, allocations: 166.1 kB / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9997, allocations: 6.031 kB / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9997, allocations: 0 / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9997, allocations: 4 kB / 1.044 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/1, allocations: 55.91 kB / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1, allocations: 0 / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1, allocations: 26.95 kB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1, allocations: 4 kB / 1.044 GB, free: 10.77 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 7.409e-05/1, allocations: 108.9 kB / 1.044 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002242/1.001, allocations: 156.1 kB / 1.044 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/1.001, allocations: 31.62 kB / 1.044 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/1.001, allocations: 37.62 kB / 1.044 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.001, allocations: 4 kB / 1.044 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.001, allocations: 0 / 1.044 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/1.001, allocations: 7.984 kB / 1.044 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/1.001, allocations: 331.8 kB / 1.045 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.001, allocations: 0 / 1.045 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/1.001, allocations: 67.39 kB / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.001, allocations: 0 / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.001, allocations: 0 / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.001, allocations: 0 / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.001, allocations: 0 / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/1.002, allocations: 329.2 kB / 1.045 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/1.002, allocations: 119.3 kB / 1.045 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.002, allocations: 0 / 1.045 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/1.002, allocations: 15.98 kB / 1.045 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/1.002, allocations: 11.61 kB / 1.045 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/1.002, allocations: 4 kB / 1.045 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002542/1.002, allocations: 263.8 kB / 1.045 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/1.002, allocations: 4 kB / 1.045 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003396/1.003, allocations: 79.44 kB / 1.045 GB, free: 9.398 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.0009077/1.004, allocations: 1.03 MB / 1.046 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001888/1.004, allocations: 109.9 kB / 1.047 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.004, allocations: 0 / 1.047 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/1.004, allocations: 63.38 kB / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/1.004, allocations: 68.75 kB / 1.047 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.006, allocations: 0.5749 MB / 1.047 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.006, allocations: 0.8058 MB / 1.048 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000108/1.006, allocations: 35.27 kB / 1.048 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/1.006, allocations: 115 kB / 1.048 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.006, allocations: 0 / 1.048 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/1.031, allocations: 6.822 MB / 1.055 GB, free: 80 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.032, allocations: 217.5 kB / 1.055 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/3.038, allocations: 3.125 kB / 1.055 GB, free: 15.8 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)