Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json 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/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 191.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 68.83 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2378, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003197/0.241, allocations: 2.304 MB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.2438, allocations: 2.371 MB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2439, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2451, allocations: 442.3 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2453, allocations: 91.48 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2455, allocations: 91.81 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000756/0.2463, allocations: 0.8694 MB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.2464, allocations: 36.28 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.2468, allocations: 251.4 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.2472, allocations: 335 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.2473, allocations: 28 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.601e-05/0.2474, allocations: 32 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.2476, allocations: 207.4 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.2479, allocations: 246.9 kB / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.2485, allocations: 0.7009 MB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2485, allocations: 4 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2485, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.2485, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 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.002252/0.2507, allocations: 0.9291 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2508, allocations: 8.031 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.2508, allocations: 50.73 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.251, allocations: 44.47 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.2524, allocations: 0.5108 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2525, allocations: 24.38 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.2525, allocations: 44.28 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.2529, allocations: 205.4 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2529, allocations: 3.984 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2529, allocations: 8 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2529, allocations: 4 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.2532, allocations: 175.9 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.2575, allocations: 1.428 MB / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.2592, allocations: 0.5841 MB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.2594, allocations: 140.8 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2594, allocations: 4 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2594, allocations: 38.56 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.2594, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.0009629/0.2604, allocations: 0.5509 MB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.2604, allocations: 55.41 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.2608, allocations: 393.4 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.2609, allocations: 41.7 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.261, allocations: 165.1 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.2611, allocations: 94.56 kB / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.2613, allocations: 150.3 kB / 1.065 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2614, allocations: 354.8 kB / 1.066 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.262, allocations: 337.1 kB / 1.066 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.2626, allocations: 405.5 kB / 1.067 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.2634, allocations: 0.5684 MB / 1.067 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2634, allocations: 0 / 1.067 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001412/0.2648, allocations: 0.917 MB / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.2648, allocations: 35.27 kB / 1.068 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2649, allocations: 0 / 1.068 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.265, allocations: 36.77 kB / 1.068 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.2658, allocations: 151.8 kB / 1.068 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009358/0.2668, allocations: 1.319 MB / 1.069 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.2684, allocations: 107.3 kB / 1.07 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.2685, allocations: 31.91 kB / 1.07 GB, free: 5.898 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.2687, allocations: 185.1 kB / 1.07 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.2687, allocations: 35.53 kB / 1.07 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.2688, allocations: 39.47 kB / 1.07 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2688, allocations: 4 kB / 1.07 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2688, allocations: 0 / 1.07 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2688, allocations: 0 / 1.07 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.2693, allocations: 472.7 kB / 1.07 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2693, allocations: 0 / 1.07 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.2696, allocations: 47.91 kB / 1.07 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-05/0.2697, allocations: 28.84 kB / 1.07 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.2697, allocations: 11.98 kB / 1.07 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.2706, allocations: 1.323 MB / 1.072 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2706, allocations: 0 / 1.072 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.2713, allocations: 0.5887 MB / 1.072 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.2714, allocations: 120.5 kB / 1.072 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.2715, allocations: 11.98 kB / 1.072 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.2722, allocations: 28.06 kB / 1.072 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.2723, allocations: 20 kB / 1.072 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2723, allocations: 8 kB / 1.072 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002366/0.2726, allocations: 255.2 kB / 1.073 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2726, allocations: 0 / 1.073 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006375/0.2732, allocations: 239.9 kB / 1.073 GB, free: 2.277 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.2743, allocations: 1.145 MB / 1.074 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2754, allocations: 0.7437 MB / 1.075 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2754, allocations: 0 / 1.075 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.2757, allocations: 266.5 kB / 1.075 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.2763, allocations: 89.88 kB / 1.075 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.2834, allocations: 5.603 MB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2837, allocations: 0.8074 MB / 1.081 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.284, allocations: 111.2 kB / 1.081 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.2843, allocations: 127.4 kB / 1.082 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of SimCode: time 1.873e-06/0.2843, allocations: 4 kB / 1.082 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.3069, allocations: 11.46 MB / 1.093 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.3072, allocations: 275.3 kB / 1.093 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.326, allocations: 1.891 kB / 1.093 GB, free: 13.68 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)