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.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 192.8 kB / 326.5 MB, free: 2.242 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.749/1.749, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008341/0.0008347, allocations: 92.2 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003476, allocations: 10.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4243, allocations: 142.5 MB / 1.039 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4246, allocations: 107.9 kB / 1.039 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5459/0.9705, allocations: 22.17 MB / 1.061 GB, free: 147.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9706, allocations: 3.75 kB / 1.061 GB, free: 147.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.9706, allocations: 17.69 kB / 1.061 GB, free: 147.4 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.001375/0.972, allocations: 0.8415 MB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.972, allocations: 11.44 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.9721, allocations: 85.61 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.9722, allocations: 75.66 kB / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.9728, allocations: 442.2 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.9729, allocations: 31.97 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.9729, allocations: 50.62 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.9737, allocations: 428.2 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.9737, allocations: 4.844 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.9738, allocations: 17.72 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.9738, allocations: 13.78 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.9745, allocations: 371.6 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.9767, allocations: 1.546 MB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.9772, allocations: 347.4 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.9773, allocations: 3.031 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.9773, allocations: 37.83 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.9773, allocations: 0 / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0009346/0.9782, allocations: 0.5005 MB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.9783, allocations: 56.12 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.9789, allocations: 431.4 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.979, allocations: 31.77 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.9792, allocations: 273 kB / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.9793, allocations: 146.5 kB / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.9793, allocations: 8.25 kB / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9794, allocations: 367.8 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.9798, allocations: 124 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.98, allocations: 134.3 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.9804, allocations: 143.9 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9804, allocations: 0 / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007334/0.9811, allocations: 405.5 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.9811, allocations: 4.688 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9812, allocations: 0 / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.9812, allocations: 2.812 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.9818, allocations: 128.6 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.9818, allocations: 4.453 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.9821, allocations: 50.41 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.9821, allocations: 13.12 kB / 1.068 GB, free: 145.1 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.0002333/0.9823, allocations: 204.1 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.9824, allocations: 51.12 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.9826, allocations: 61.59 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.9826, allocations: 4.5 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.9826, allocations: 0 / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.9826, allocations: 2.922 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.9834, allocations: 0.575 MB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9835, allocations: 1.094 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.9841, allocations: 129.5 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9841, allocations: 1.062 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.9841, allocations: 7.094 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9841, allocations: 1.5 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9841, allocations: 1.406 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.9853, allocations: 0.675 MB / 1.07 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.9854, allocations: 136.5 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.9855, allocations: 6.719 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.9857, allocations: 28.42 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.9858, allocations: 24.27 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.9858, allocations: 11.34 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004858/0.9863, allocations: 352 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9863, allocations: 0 / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005857/0.9869, allocations: 151.7 kB / 1.07 GB, free: 144.3 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.001652/0.9886, allocations: 1.361 MB / 1.072 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007069/0.9893, allocations: 331.4 kB / 1.072 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9893, allocations: 0 / 1.072 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.9897, allocations: 185.1 kB / 1.072 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.9903, allocations: 112.3 kB / 1.072 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.9957, allocations: 3.288 MB / 1.075 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.9961, allocations: 0.8814 MB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.9964, allocations: 52.2 kB / 1.076 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.9967, allocations: 200.6 kB / 1.077 GB, free: 141.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/0.9967, allocations: 3.828 kB / 1.077 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/1.025, allocations: 12.38 MB / 1.089 GB, free: 138.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/1.025, allocations: 260.7 kB / 1.089 GB, free: 138.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.32, allocations: 3.938 kB / 1.089 GB, free: 138.6 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)