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.7865/0.7865, allocations: 143.3 MB / 158.3 MB, free: 5.73 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.001182/0.001182, allocations: 201 kB / 191.5 MB, free: 5.746 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.423/1.423, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.0009147/0.0009147, allocations: 96.27 kB / 0.5187 GB, free: 2.918 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 279.2 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 16 kB / 0.693 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.4993, allocations: 116.6 MB / 0.8877 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4996, allocations: 107.9 kB / 0.8878 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05365/0.5533, allocations: 16.47 MB / 0.9039 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5533, allocations: 0 / 0.9039 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.5534, allocations: 8 kB / 0.9039 GB, free: 4.754 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.002007/0.5554, allocations: 0.8706 MB / 0.9048 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5554, allocations: 8.031 kB / 0.9048 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.5555, allocations: 46.56 kB / 0.9048 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.5556, allocations: 43.53 kB / 0.9049 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.5562, allocations: 377.9 kB / 0.9052 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5562, allocations: 20 kB / 0.9052 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.5563, allocations: 39.91 kB / 0.9053 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.5567, allocations: 214 kB / 0.9055 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5567, allocations: 0 / 0.9055 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.5567, allocations: 4 kB / 0.9055 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5568, allocations: 7.938 kB / 0.9055 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.5571, allocations: 183.9 kB / 0.9057 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.5622, allocations: 1.53 MB / 0.9072 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.564, allocations: 0.5903 MB / 0.9077 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.5641, allocations: 4 kB / 0.9077 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.5641, allocations: 30.56 kB / 0.9078 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.5641, allocations: 3.938 kB / 0.9078 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.001109/0.5652, allocations: 0.5574 MB / 0.9083 GB, free: 40 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3049/0.8701, allocations: 55.39 kB / 0.9084 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.8708, allocations: 343.8 kB / 0.9087 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/0.8711, allocations: 39.05 kB / 0.9087 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.8712, allocations: 166.2 kB / 0.9089 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.8714, allocations: 94.75 kB / 0.909 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.8715, allocations: 13.56 kB / 0.909 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8716, allocations: 352.9 kB / 0.9093 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/0.8724, allocations: 349 kB / 0.9097 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.8731, allocations: 411.1 kB / 0.9101 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.8739, allocations: 416.9 kB / 0.9105 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8739, allocations: 0 / 0.9105 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001849/0.8758, allocations: 0.9333 MB / 0.9114 GB, free: 124 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.8758, allocations: 37.81 kB / 0.9114 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8759, allocations: 3.219 kB / 0.9114 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.8761, allocations: 32.95 kB / 0.9114 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.877, allocations: 151.9 kB / 0.9116 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009136/0.878, allocations: 1.338 MB / 0.9129 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.8798, allocations: 110.3 kB / 0.913 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.8799, allocations: 23.08 kB / 0.913 GB, free: 122.7 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 () * Number of clocked 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.0002543/0.8801, allocations: 185.6 kB / 0.9132 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.8802, allocations: 36.75 kB / 0.9132 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.8803, allocations: 40.19 kB / 0.9133 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.8803, allocations: 2.781 kB / 0.9133 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8803, allocations: 2.438 kB / 0.9133 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8803, allocations: 1.844 kB / 0.9133 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.881, allocations: 0.4963 MB / 0.9138 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.881, allocations: 0.5625 kB / 0.9138 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.8813, allocations: 50.75 kB / 0.9138 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.8814, allocations: 32.06 kB / 0.9138 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.8815, allocations: 9.203 kB / 0.9138 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008954/0.8824, allocations: 1.33 MB / 0.9151 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8824, allocations: 3.703 kB / 0.9151 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.8835, allocations: 0.6013 MB / 0.9157 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.8836, allocations: 113 kB / 0.9158 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.8837, allocations: 10.69 kB / 0.9159 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.8844, allocations: 33.84 kB / 0.9159 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.8845, allocations: 18.89 kB / 0.9159 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.8845, allocations: 5.188 kB / 0.9159 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003475/0.8849, allocations: 261.2 kB / 0.9162 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8849, allocations: 0 / 0.9162 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0012/0.8861, allocations: 274.1 kB / 0.9164 GB, free: 120.7 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 () * Number of clocked 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.001586/0.8877, allocations: 1.272 MB / 0.9177 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.8892, allocations: 0.7516 MB / 0.9184 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8892, allocations: 0 / 0.9184 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.8896, allocations: 265 kB / 0.9186 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.8901, allocations: 88.34 kB / 0.9187 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.8928, allocations: 1.867 MB / 0.9206 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.8931, allocations: 0.8217 MB / 0.9214 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004449/0.8936, allocations: 105.9 kB / 0.9215 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.8939, allocations: 128.6 kB / 0.9216 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/0.8939, allocations: 0 / 0.9216 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.9248, allocations: 12.97 MB / 0.9342 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.9251, allocations: 246.7 kB / 0.9345 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.508, allocations: 0 / 0.9345 GB, free: 115.1 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)