Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8091/0.8091, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 176.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008535, allocations: 95.69 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 267 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.318e-05, allocations: 4 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4637, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.6284, allocations: 116.4 MB / 0.8712 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004058/0.6289, allocations: 111.9 kB / 0.8713 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04828/0.6772, allocations: 17.98 MB / 0.8889 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6772, allocations: 0 / 0.8889 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6772, allocations: 8 kB / 0.8889 GB, free: 9.141 MB / 0.5573 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.0007695/0.678, allocations: 0.5836 MB / 0.8895 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6781, allocations: 8.031 kB / 0.8895 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.6782, allocations: 39.53 kB / 0.8895 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.6786, allocations: 359.9 kB / 0.8899 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6787, allocations: 8 kB / 0.8899 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.6787, allocations: 12 kB / 0.8899 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002603/0.679, allocations: 128.8 kB / 0.89 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.6793, allocations: 150.5 kB / 0.8901 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.6793, allocations: 3.984 kB / 0.8901 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.6793, allocations: 3.938 kB / 0.8901 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6793, allocations: 4.219 kB / 0.8902 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.6805, allocations: 0.8075 MB / 0.8909 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.6807, allocations: 146.6 kB / 0.8911 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.6809, allocations: 86.97 kB / 0.8912 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.6809, allocations: 4 kB / 0.8912 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.681, allocations: 38.52 kB / 0.8912 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.681, allocations: 3.984 kB / 0.8912 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0003268/0.6813, allocations: 159.1 kB / 0.8914 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6814, allocations: 51.41 kB / 0.8914 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.6817, allocations: 334.4 kB / 0.8917 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6818, allocations: 29.7 kB / 0.8918 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6819, allocations: 204.1 kB / 0.8919 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.682, allocations: 63.09 kB / 0.892 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.682, allocations: 0 / 0.892 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6822, allocations: 342.8 kB / 0.8923 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.6822, allocations: 40 kB / 0.8924 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.6823, allocations: 43.94 kB / 0.8924 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.6824, allocations: 56.56 kB / 0.8925 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6824, allocations: 0 / 0.8925 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002374/0.6827, allocations: 162.1 kB / 0.8926 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6827, allocations: 4 kB / 0.8926 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6827, allocations: 4 kB / 0.8926 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6827, allocations: 3.984 kB / 0.8926 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.683, allocations: 51.97 kB / 0.8927 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.683, allocations: 0 / 0.8927 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6832, allocations: 31.77 kB / 0.8927 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.6832, allocations: 8 kB / 0.8927 GB, free: 5 MB / 0.5573 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.64e-05/0.6833, allocations: 102.2 kB / 0.8928 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002381/0.6835, allocations: 158.7 kB / 0.893 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.6836, allocations: 35.53 kB / 0.893 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.6837, allocations: 35.25 kB / 0.893 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6837, allocations: 4 kB / 0.893 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6837, allocations: 7.938 kB / 0.8931 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6837, allocations: 0 / 0.8931 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.6841, allocations: 333.9 kB / 0.8934 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6841, allocations: 3.938 kB / 0.8934 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.6844, allocations: 55.95 kB / 0.8934 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6844, allocations: 3.953 kB / 0.8934 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6844, allocations: 0 / 0.8934 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6844, allocations: 4 kB / 0.8934 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6844, allocations: 0 / 0.8934 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.6848, allocations: 326.9 kB / 0.8937 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6849, allocations: 120.6 kB / 0.8939 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.685, allocations: 0 / 0.8939 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.6852, allocations: 15.89 kB / 0.8939 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.6852, allocations: 11.98 kB / 0.8939 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6852, allocations: 4 kB / 0.8939 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002734/0.6855, allocations: 264.7 kB / 0.8941 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6855, allocations: 0 / 0.8941 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003228/0.6859, allocations: 75.83 kB / 0.8942 GB, free: 3.387 MB / 0.5573 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.001055/0.6869, allocations: 1.023 MB / 0.8952 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.6871, allocations: 104.8 kB / 0.8953 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6872, allocations: 0 / 0.8953 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.834e-05/0.6873, allocations: 65.66 kB / 0.8954 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.6878, allocations: 78.38 kB / 0.8955 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.689, allocations: 0.5873 MB / 0.896 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6894, allocations: 0.8029 MB / 0.8968 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.6895, allocations: 27.28 kB / 0.8968 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.6897, allocations: 115.4 kB / 0.8969 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of SimCode: time 1.883e-06/0.6897, allocations: 0 / 0.8969 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4329/1.123, allocations: 6.821 MB / 0.9036 GB, free: 128 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.123, allocations: 225 kB / 0.9038 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.414, allocations: 0 / 0.9038 GB, free: 127.7 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)