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.6903/0.6903, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009427/0.0009428, allocations: 174.6 kB / 187.3 MB, free: 11.88 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.216/1.216, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008392/0.0008393, allocations: 97.61 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001592/0.001592, allocations: 272.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.961e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3442, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4515, allocations: 116.6 MB / 0.8782 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4517, allocations: 99.92 kB / 0.8783 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04931/0.501, allocations: 16.48 MB / 0.8944 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.031e-06/0.5011, allocations: 0 / 0.8944 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.5011, allocations: 8 kB / 0.8944 GB, free: 7.297 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.001853/0.503, allocations: 0.8158 MB / 0.8952 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.503, allocations: 8.031 kB / 0.8952 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.5031, allocations: 46.55 kB / 0.8953 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.5032, allocations: 43.53 kB / 0.8953 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.5038, allocations: 368.3 kB / 0.8957 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5038, allocations: 27.94 kB / 0.8957 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.5039, allocations: 36 kB / 0.8957 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.5042, allocations: 205.5 kB / 0.8959 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5042, allocations: 7.922 kB / 0.8959 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.5043, allocations: 11.94 kB / 0.8959 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5043, allocations: 4 kB / 0.896 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.5045, allocations: 159.9 kB / 0.8961 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.5091, allocations: 1.53 MB / 0.8976 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.5107, allocations: 0.5735 MB / 0.8982 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.5109, allocations: 139.2 kB / 0.8983 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.5109, allocations: 4 kB / 0.8983 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5109, allocations: 30.56 kB / 0.8983 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.5109, allocations: 0 / 0.8983 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.0005996/0.5115, allocations: 342.4 kB / 0.8987 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.5116, allocations: 59.41 kB / 0.8987 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.5119, allocations: 343.3 kB / 0.899 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.512, allocations: 41.7 kB / 0.8991 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5121, allocations: 165.1 kB / 0.8992 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.5122, allocations: 94.72 kB / 0.8993 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.5122, allocations: 8 kB / 0.8993 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5123, allocations: 354.8 kB / 0.8997 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.5129, allocations: 333.4 kB / 0.9 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.5134, allocations: 403 kB / 0.9004 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.514, allocations: 407.6 kB / 0.9008 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.514, allocations: 0 / 0.9008 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001361/0.5154, allocations: 0.9121 MB / 0.9016 GB, free: 15.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.5154, allocations: 37.69 kB / 0.9017 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5154, allocations: 0 / 0.9017 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.5156, allocations: 32.84 kB / 0.9017 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.5164, allocations: 151.8 kB / 0.9019 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009113/0.5173, allocations: 1.326 MB / 0.9032 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.5187, allocations: 111.3 kB / 0.9033 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.5188, allocations: 23.98 kB / 0.9033 GB, free: 13.83 MB / 0.573 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.0001201/0.5189, allocations: 132.8 kB / 0.9034 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.519, allocations: 35.58 kB / 0.9034 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.5191, allocations: 31.27 kB / 0.9035 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5191, allocations: 4 kB / 0.9035 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5191, allocations: 0 / 0.9035 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5191, allocations: 7.984 kB / 0.9035 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.5196, allocations: 0.5086 MB / 0.904 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5196, allocations: 3.938 kB / 0.904 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.5199, allocations: 39.97 kB / 0.904 GB, free: 13.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-05/0.52, allocations: 40.67 kB / 0.9041 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.52, allocations: 11.98 kB / 0.9041 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008011/0.5208, allocations: 1.316 MB / 0.9054 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5208, allocations: 0 / 0.9054 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.5215, allocations: 0.5772 MB / 0.9059 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.5216, allocations: 120.6 kB / 0.906 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5217, allocations: 8 kB / 0.906 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.5223, allocations: 35.88 kB / 0.9061 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.5224, allocations: 11.98 kB / 0.9061 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.5224, allocations: 12 kB / 0.9061 GB, free: 10.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002204/0.5226, allocations: 246.1 kB / 0.9063 GB, free: 10.47 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5226, allocations: 4 kB / 0.9063 GB, free: 10.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006883/0.5233, allocations: 280 kB / 0.9066 GB, free: 10.19 MB / 0.573 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.001134/0.5245, allocations: 1.258 MB / 0.9078 GB, free: 8.902 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009929/0.5255, allocations: 0.725 MB / 0.9085 GB, free: 8.152 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5255, allocations: 0 / 0.9085 GB, free: 8.152 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.5257, allocations: 256.4 kB / 0.9088 GB, free: 7.891 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5262, allocations: 84.02 kB / 0.9089 GB, free: 7.809 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.528, allocations: 1.281 MB / 0.9101 GB, free: 6.492 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5283, allocations: 0.8191 MB / 0.9109 GB, free: 5.645 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.5286, allocations: 106.9 kB / 0.911 GB, free: 5.543 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.5289, allocations: 131.4 kB / 0.9111 GB, free: 5.414 MB / 0.573 GB Notification: Performance of SimCode: time 4.7e-07/0.5289, allocations: 0 / 0.9111 GB, free: 5.414 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3099/0.8388, allocations: 13.26 MB / 0.9241 GB, free: 138.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.8389, allocations: 218.5 kB / 0.9243 GB, free: 138.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.064, allocations: 0.5625 kB / 0.9243 GB, free: 138.1 MB / 0.573 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)