Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.8375/0.8375, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001029/0.001029, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.435/1.435, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.000898/0.0008979, allocations: 95.78 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.001661, allocations: 287.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.258e-05, allocations: 4 kB / 0.6767 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.429, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5721, allocations: 115.9 MB / 0.8707 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.5724, allocations: 99.92 kB / 0.8708 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05298/0.6254, allocations: 16.33 MB / 0.8867 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6255, allocations: 4 kB / 0.8867 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.6255, allocations: 8 kB / 0.8867 GB, free: 11.34 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001973/0.6275, allocations: 0.8041 MB / 0.8875 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6276, allocations: 8.031 kB / 0.8875 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6277, allocations: 51.53 kB / 0.8876 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.6282, allocations: 368.3 kB / 0.8879 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6283, allocations: 4 kB / 0.8879 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.6283, allocations: 27.98 kB / 0.888 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002761/0.6286, allocations: 155.9 kB / 0.8881 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.6289, allocations: 169.6 kB / 0.8883 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6289, allocations: 4 kB / 0.8883 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.629, allocations: 0 / 0.8883 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.629, allocations: 3.938 kB / 0.8883 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.6337, allocations: 1.483 MB / 0.8897 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.6354, allocations: 0.5611 MB / 0.8903 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.6356, allocations: 128.8 kB / 0.8904 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.6357, allocations: 7.938 kB / 0.8904 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.6357, allocations: 34.56 kB / 0.8904 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.6357, allocations: 0 / 0.8904 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.0006369/0.6363, allocations: 325.2 kB / 0.8908 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6364, allocations: 55.41 kB / 0.8908 GB, free: 7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.6367, allocations: 326 kB / 0.8911 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.6368, allocations: 29.7 kB / 0.8911 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.6369, allocations: 161.1 kB / 0.8913 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.637, allocations: 94.66 kB / 0.8914 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.6371, allocations: 0 / 0.8914 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6372, allocations: 350.8 kB / 0.8917 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.6378, allocations: 325.4 kB / 0.892 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.6383, allocations: 381.4 kB / 0.8924 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.6389, allocations: 364.4 kB / 0.8927 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6389, allocations: 0 / 0.8927 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001342/0.6402, allocations: 0.8402 MB / 0.8936 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.6403, allocations: 41.69 kB / 0.8936 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6403, allocations: 0 / 0.8936 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.6405, allocations: 28.8 kB / 0.8936 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.6413, allocations: 151.8 kB / 0.8938 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.6424, allocations: 1.287 MB / 0.895 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.6439, allocations: 99.38 kB / 0.8951 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.644, allocations: 23.97 kB / 0.8952 GB, free: 2.379 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.6441, allocations: 112.9 kB / 0.8953 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004907/0.6446, allocations: 317.8 kB / 0.8956 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.6447, allocations: 31.53 kB / 0.8956 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.457e-05/0.6448, allocations: 39.25 kB / 0.8956 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6448, allocations: 0 / 0.8956 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6448, allocations: 4 kB / 0.8956 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6448, allocations: 0 / 0.8956 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.6454, allocations: 469.5 kB / 0.8961 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6454, allocations: 4 kB / 0.8961 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.6457, allocations: 59.83 kB / 0.8961 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-05/0.6458, allocations: 28.8 kB / 0.8962 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6458, allocations: 4 kB / 0.8962 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.394/1.04, allocations: 1.278 MB / 0.8974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.04, allocations: 0 / 0.8974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.041, allocations: 0.5582 MB / 0.898 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/1.041, allocations: 119.9 kB / 0.8981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/1.041, allocations: 11.31 kB / 0.8981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/1.042, allocations: 20.53 kB / 0.8981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/1.042, allocations: 17.02 kB / 0.8981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/1.042, allocations: 8.922 kB / 0.8981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003161/1.042, allocations: 231.7 kB / 0.8984 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/1.042, allocations: 0.5938 kB / 0.8984 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001139/1.044, allocations: 273.3 kB / 0.8986 GB, free: 128.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/1.045, allocations: 1.231 MB / 0.8998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.047, allocations: 0.7094 MB / 0.9005 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.047, allocations: 0 / 0.9005 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/1.047, allocations: 250 kB / 0.9008 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/1.048, allocations: 80.16 kB / 0.9008 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/1.05, allocations: 1.249 MB / 0.9021 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.051, allocations: 0.8122 MB / 0.9028 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004237/1.051, allocations: 109.7 kB / 0.9029 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.051, allocations: 129.5 kB / 0.9031 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/1.051, allocations: 0 / 0.9031 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/1.086, allocations: 10.96 MB / 0.9138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.086, allocations: 192 kB / 0.914 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.456, allocations: 2.062 kB / 0.914 GB, free: 125.7 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)